[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Can XML documents have loops (cycles)?
On 10/10/2011 13:28, Costello, Roger L. wrote: > So would it be accurate to say that: not really:-) > > 1. XML documents may have loops (cycles). You'd have to define what you mean by "have" in that sentence. It's true that XML may encode a graph structure through the use of IDREF attributes, but whether that is the same as "having loops" depends on your definitions. I'd guess most people would say that it was not the same. > > 2. XML parsers just report the loops; XML parsers do not traverse > them. No they only have to report the links they do not have to follow the links so they certainly are not required to detect or report loops in that structure (which may not be an error). > > /Roger David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
[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
|