XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] 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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS