Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Schema limits and ordering

From: Stuart Gilbert <Stu@------.------.---->
To: xmlschema-dev@--.---
Date: 6/5/2004 10:03:00 PM
Dean Hiller wrote:

>I personally like unordered.  For the xml to object tools, it more closely
>matches a one to one relationship.  Notice, the set methods on objects or
>beans don't need to be set in any particular order.  Of course this is only
>one use case, and I know of others where I prefer to have order.  It is
>something that would be nice to be optional.
>thanks,
>dean
>  
>

I'd like to keep the elements unordered, but I also want to write the 
validation with a Schema. Since this Schema will only be used to 
validate documents, and order won't matter in the document normally I 
could probably perform some kind of XSLT on the document before I 
validate it with the schema, that way I can ensure the elements are in 
an order that the Schema is expecting.

Not really ideal, but possibly the easiest way I can think of to do what 
I want to do.

From noah_mendelsohn@u...  Mon Jun  7 10:30:


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent