W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2003

Re: xmlStandalone, xmlEncoding, xmlVersion (was RE: L3 Core Document comments)

From: Philippe Le Hegaret <plh@w3.org>
Date: Fri, 10 Oct 2003 18:38:35 -0400
To: Curt Arnold <carnold@houston.rr.com>
Cc: WWW DOM <www-dom@w3.org>
Message-Id: <1065825514.16071.80.camel@jfouffa.w3.org>

On Sat, 2003-08-30 at 13:09, Curt Arnold wrote:
> Was xmlStandalone also made read-only and strictly based on the value in 
> the XML declaration present when the document was loaded?  However, 
> there should be something in L/S that allows you to specify that you 
> want to document serialized with standalone="yes" which would either 
> place everything in the internal subset or expand entity references and 
> explicitly serialize default attribute values.

It would be dangerous to start doing "magic" based on the value of the
standalone attribute. XML Parsers are required to check the value of
standalone when validating. It is therefore logic to do the same in the
DOM and make the check dependent on the validate and validate-if-schema
parameters. No change is needed in the specifications since this error
type is already controlled by XML.

Received on Friday, 10 October 2003 19:00:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:11 UTC