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] An elegant implementation of an XML graph traversal

I guess you could create a cycle with XInclude, which is at least part 
of the XML family.  Also XML Schema, RelaxNG - anything with an include. 
Do processors detect that - if so I imagine it would be nice to ignore 
rather throw an error, but I don't really know what the chapter and 
verse on that would be, or the rationale - anyone care to illuminate?

On 10/9/2011 12:40 PM, Liam R E Quin wrote:
> On Sun, 2011-10-09 at 16:14 +0100, Chris Burdess wrote:
>>   No general purpose XML tool will ever encounter anything cyclic in
>> your document.
> Assuming it's well-formed XML, and you are working with the output of
> the XML parser, that's true.
>
> You can encounter some (erroneous) loops with entity definitions.
>
> Also, since the XML specification *does* define id/idref pointers, it's
> fair to note that id/idref pointer chains can form loops.
>
> Liam
>



[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