[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] An elegant implementation of an XML graph traversal
- From: Michael Sokolov <sokolov@ifactory.com>
- To: liam@w3.org
- Date: Sun, 09 Oct 2011 20:22:59 -0400
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]