W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2004

Re: L3 Core: "validate-if-schema" = false disables internal subset processing?

From: Philippe Le Hegaret <plh@w3.org>
Date: Thu, 26 Feb 2004 17:03:08 -0500
To: Curt Arnold <carnold@houston.rr.com>
Cc: WWW DOM <www-dom@w3.org>
Message-Id: <1077832987.13919.28.camel@jfouffa.w3.org>
On Tue, 2004-02-24 at 20:30, Curt Arnold wrote:
> http://www.w3.org/TR/2004/PR-DOM-Level-3-Core-20040205/core#parameter-
> validate-if-schema
> 
> "validate-if-schema"
> ...
>   false
> [required] (default)
>   No schema processing should be performed if the  document has a  
> schema, including internal subset processing. Note that validation must  
> still happen if  "validate"  is true.
> 
> The "including internal subset processing" appears to contradict   
> http://www.w3.org/TR/2000/REC-xml-20001006#proc-types and  
> http://lists.w3.org/Archives/Public/www-dom-ts/2002Mar/0050.html where  
> default attribute values from internal subsets are expected even if the  
> processor is not validating.

Actually, the description of the parameter in the Core specification is
correct. Setting validate to false does not do schema processing at all,
i.e. it does nothing.
However, you do have a point that this behavior is against the XML
specification for the Load module. Therefore the Load must refines the
definition of validate false to mention that internal subset processing
is always accomplished.

Philippe


Received on Thursday, 26 February 2004 17:03:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:57 GMT