[Home] [By Thread] [By Date] [Recent Entries]

  • From: Tim Bray <tbray@t...>
  • To: Rob Lugt <roblugt@e...>, xml-dev@l...
  • 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. 

  -Tim


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member