[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Comparing xml fragments
John, hello. On 3 Aug 2018, at 16:12, John Dziurlaj wrote: These fragments have repeating elements, and I worry that parsers / writersAn XML parser is permitted to report _attributes_ in any order, but a parser is emphatically not permitted to reorder elements. A particular XML-parser library might, for its own specialised (speed?) reasons, choose to ignore this, and an application layer above the parser may elect to regard differently-ordered child elements as equivalent, but the ordering of elements (but not attributes) is in general a significant property of an XML document. If you want to normalise XML fragments, that's a separate issue. Best wishes, Norman -- Norman Gray : https://nxg.me.uk
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
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
|