[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Should we care about elements order ?
In the subject line, which "we" are you talking about? Some XML applications are sensitive to the order in which elements occur. Some aren't. Many care in one part of the document and not in others. (Some spoken languages are fully inflected, some are fully positional, most are a mix.) Remember that DTDs and schemas are almost never going to be able to enforce all the rules of the language by themselves. They provide a basic well-formedness check, equivalent to making sure that the statement is in the right language. Determining whether the statement makes sense often requires additional checks at the semantic level. There's no magic here. Do what makes sense for the particular XML-based language you're designing and the applications which will process it. Use schemas for what schemas can do; use custom code for what they can't do. ______________________________________ Joe Kesselman / IBM Research
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|