I just ran sax.Counter (Xerces 2.2.0) with the following input file:

<root>
<temp>
<root/>
</temp>
</root>

It worked completely fine and did not throw a SAXParseException.  Is this a
well-formed document?  I would think not based on the W3C definition:

 [Definition: There is exactly one element, called the root, or document
element, no part of which appears in the content of any other element.]

This also parses/displays properly in Internet Explorer 6.0 and Phoenix 0.4
(Mozilla-based).

Any ideas why I'm seeing this behavior?

Thanks,
Brion
============
Brion Swanson
West Group
brion{dot}swanson{at}westgroup{dot}com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to