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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: SAX2 Question

[ Lists Home | Date Index | Thread Index ]
  • From: Tim Bray <tbray@textuality.com>
  • To: Rob Lugt <roblugt@elcel.com>, xml-dev@lists.xml.org
  • Date: Thu, 09 Nov 2000 08:13:57 -0800

At 02:43 PM 09/11/00 +0000, Rob Lugt wrote:
>What does a SAX2 application do if it wants to know about unspecified but
>#IMPLIED attributes in a start element tag?

SAX2 doesn't do that, and I wouldn't count on any other API either.
The XML spec tries to make it clear that an attribute which is
#IMPLIED but not there just isn't there, so there's no particular
reason to tell client software that "there could have been a FOO
attribute her, but there isn't."   Consider that based on your
DTD/schema, there are typically lots of  child elements that could 
appear but don't, and you don't get to hear about them either. 



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

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