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 Concerning validation, in section 3

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

Concerning validation, in section 3 it states:
    An element is valid if there is a declaration matching
    elementdecl where the Name matches the element type

and also:
    The declaration matches ANY, and the types of all child
    elements have been declared. 

Isn't the second condition redundant. If a child element has not been
declared then the validity violation will be caught the first statement.
Which is to say, if a child has not been declared, then when the
child element's text is being parsed, its lack of declaration will be 
caught by a validating parser at that point and there is no need to 
check for this at the parent element level.

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