ChrisHeitke |
Member |
Chris Heitke |
Sacramento, CA |
Senior Programmer Analyst |
XML Schema Development |
Male |
|
Thursday, July 28, 2005 |
Friday, May 22, 2015 10:29:02 PM |
1 [0.01% of all post / 0.00 posts per day] |
|
No, but that depends on which version of Spy you have installed. Older versions did do the maximum on some elements, chiefly numeric/integer based elements... Your problem is a great feature request... especially when the types are simple and based on W3C definitions with facet based restrictions.
We have developed our own imperfect solution which replaces the current value of an element with a sample value from a file where we provide sample values for simple types. One word of caution though... its level of success is dependent on the extent to which you develop your schemas without local restrictions. if you develop them by creating simple types and assign them back to the elements you have a handle to use within your schemas for sample data replacement of SPY generated data...
Your other option is to use Altova's samples facets on the bottom entry helper window. This works well, but if you have hundreds of schemas, not all of them under your control, it is not efficient, or easy to use, or maintain... and it may be problematic if your schemas are public...
The most recent version of spy (i.e. 2015 rel. 3 sp1) still has issues we have reported to them that are not fixed yet, like switching an imported namespace to the target on large instances. It is a pain, but we have coded around this too at the moment... We would still rather have it fixed.
|
|