|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: SAX2 Question
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








