basic XML question re: Xerces 2003-02-12 - By Andreas Fischbach
Swanson, Brion wrote:
>I just ran sax.Counter (Xerces 2.2.0) with the following input file: > ><root> ><temp> ><root/> > This is a EmptyElemTag
see http://www.w3.org/TR/REC-xml
search for EmptyElemTag
The xml is wellFormed
></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: xerces-j-user-unsubscribe@(protected) >For additional commands, e-mail: xerces-j-user-help@(protected) > > > >
-- ----------------------------------------------------------------------- Dipl. -Ing. (FH) Andreas Fischbach RD3 Entwicklung / ALKIS
SICAD Geomatics Tel +49 (89) 45026 248 Lilienthalstra�e 7 Fax +49 (89) 45026 206 85579 Neubiberg /Muenchen / Germany Raum G 2.08 mailto:andreas.fischbach@(protected) http://www.sicad.de -----------------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|