[Home] [By Thread] [By Date] [Recent Entries]
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
|

Cart



