- From: Brant Langer Gurganus <brantgurganus2001@cherokeescouting.org>
- Date: Sun, 22 Dec 2002 13:14:50 -0500
- To: Christoph Schneegans <Christoph@Schneegans.de>
- CC: www-amaya@w3.org
Received on Sunday, 22 December 2002 13:16:14 UTC
Christoph Schneegans wrote: >Brant Langer Gurganus wrote: > > >>By that definition (if Amaya uses a validating XML processor), it must >>report if whitespace appears before the XML declaration. >> >> >This hasn't got anything to do with validity, but with well-formedness, >so Amaya must report the error anyway. The productions seem to be clear, >however, Opera und IE don't complain about whitespace either in XML >mode. > > Actually I believe it is just validating processors that must report it because the error is outside the document root and non-validating processors only need to check well-formedness within the document root. "Non-validating processors are required to check only the document entity <http://www.w3.org/TR/REC-xml#dt-docent>, including the entire internal DTD subset, for well-formedness." "The *document entity* serves as the root of the entity tree and a starting-point for an XML processor <http://www.w3.org/TR/REC-xml#dt-xml-proc>." It sounds to me that the XML prolog is outside the document entity. Although I am still unclear on what exactly the document entity is, so I might have this wrong. -- Brant Langer Gurganus http://troop545.cjb.net/brant.xhtml
Received on Sunday, 22 December 2002 13:16:14 UTC