Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: How to *not* specify the order of occurrence? [Thread Next] Re: How to *not* specify the order of occurrence?To: NULL Date: 7/3/2009 1:03:00 PM C. M. Sperberg-McQueen wrote: > But if the OP's description of the goal is correct (allow any > order, and mark elements required or optional) and the example > is characteristic (none of the elements in question appears more > than once), the xsd:all can do what appears to be required. Hmmm. You're certainly an authority on the topic... but I'm confused by why I didn't notice this before. I need to re-read that, clearly. Thanks. > (If the order has no significance, > there is really very little reason to allow the order to vary. > Variable but meaningless ordering is also a method of > steganography, which may worry some security people.) Agreed. But sometimes convincing the customer that laziness is not sufficient justification for allowing reordering can be difficult. And there are other steganography opportunities in XML unless you spend the cycles to normalize it. (Admittedly, element order is one that would survive canonicalization.) | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
