W3C home > Mailing lists > Public > www-xml-infoset-comments@w3.org > January to March 2008

document [standalone] property should be defaulted to 'no'

From: C. M. Sperberg-McQueen <cmsmcq@acm.org>
Date: Tue, 26 Feb 2008 09:39:59 -0700
Message-Id: <E8EF5B95-AF6D-4450-9169-EBE26BBA0C2D@acm.org>
Cc: "C. M. Sperberg-McQueen" <cmsmcq@acm.org>
To: www-xml-infoset-comments@w3.org

The version of the infoset spec at

   http://www.w3.org/TR/2004/REC-xml-infoset-20040204/

says, of the document information item's [standalone] property

     This property ... has no value if there is no standalone
     document declaration.

But the XML specification says

     If there are no external markup declarations, the standalone
     document declaration has no meaning. If there are external
     markup declarations but there is no standalone document
     declaration, the value "no" is assumed.

This seems to me to indicate that the correct thing for the
infoset spec to do is to specify that the property defaults to
the value 'no'.  (This gives a value to the property in cases
where the XML spec does not specify a value, but those cases
are also those for which the XML spec says it does not matter,
since in those cases the value has no meaning.)

I think the infoset spec should specify a default value of 'no'
for this property.

Am I wrong?

--C. M. Sperberg-McQueen
Received on Tuesday, 26 February 2008 16:40:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 March 2009 11:12:26 GMT