[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Attribute Order
If you send an example of the pattern you are trying to match, I might be able to tell you if it can be represented by a RELAX NG schema. I am happy to take a whack at it. If you want, you can submit your comments to one of the RELAX NG lists. If you are an OASIS member, you can subscribe to the RELAX NG list (mailto:relax-ng-request@l... with "subscribe" in the body) or the RELAX NG comment list (mailto:relax-ng-comment-request@l... with "subscribe" in the body) if you are not a member. -Mike -----Original Message----- From: Jeff Lowery [mailto:jlowery@s...] Sent: Monday, December 10, 2001 11:30 AM To: 'Michael Fitzgerald'; xml-dev@l... Subject: RE: Attribute Order I realize that this is just the tutorial, but it states: --------------- The semantics of the interleave pattern are that a sequence of elements matches an interleave pattern if it is an interleaving of sequences that match the child patterns of the interleave pattern. Note that this is different from the & connector in SGML: A* & B matches the sequence of elements A A B or the sequence of elements B A A but not the sequence of elements A B A. --------------- My reading of the above is that if the interleaved child pattern is a sequence, then it seems that it can be interleaved with unordered content, but not broken up. I'd be happy if RELAX NG separated out the orthogonal constraint of order from that of contiguity; i.e., items can be ordered and contiguous, ordered and discontiguous, unordered and contiguous, or unordered and discontiguous. I haven't done a careful reading of the RELAX NG spec, but I don't think it does. I know XML Schema doesn't.
|
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
|