W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2002

Re: XML 1.0 SE Conformance Error

From: Brant Langer Gurganus <brantgurganus2001@cherokeescouting.org>
Date: Sun, 22 Dec 2002 13:14:50 -0500
Message-ID: <3E06011A.3070802@cherokeescouting.org>
To: Christoph Schneegans <Christoph@Schneegans.de>
CC: www-amaya@w3.org
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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:38 UTC