Next in thread → Next in month →

Re: [xml-dev] An elegant implementation of an XML graph traversal

From
Michael Sokolov <>
To
Date
2011-10-10T00:22:59Z
ID
<>
Thread
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
>
Next in thread → Next in month →