OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   REC-xml-19980210: default attribute values

[ Lists Home | Date Index | Thread Index ]
  • From: emberson@faslab.com (Richard Emberson)
  • To: xml-dev@ic.ac.uk
  • Date: Wed, 14 Oct 1998 15:08:47 -0700


Section 3.3.2:

  "If a default value is declared, when an XML processor encounters 
  an omitted attribute, it is to behave as though the attribute 
  were present with the declared default value."

Section 2.9, Validity Constraint: Standalone Document Declaration:

  "...attributes with default values, if elements to which
  these attributes apply appear in the document without
  specifications of values for these attributes,..."


If the XML processor always automatically produces such
attributes with their default values when they are missing, 
how can the Validity Constraint ever be true?

Does the checking of this Validity Constraint occur before
the XML processor makes its correction?


Richard Emberson
emberson@faslab.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS