SAX: Implied Attributes

David Megginson ak117 at freenet.carleton.ca
Sun Apr 19 21:26:29 BST 1998


Tim Bray writes:

 > At 09:00 PM 4/17/98 -0400, David Megginson wrote:
 > >Should SAX level 1 allow parsers to report implied attributes by
 > >providing null for AttributeList.getValue() (it does not currently do
 > >so)?  The only application I can think of right now is architectural
 > >forms, where an implied attribute can prevent automatic derivation.
 > 
 > Nothing in the XML spec suggests that anything should be done about
 > #IMPLIED-but-absent attributes... there was such language but we 
 > deliberately took it out. -Tim

The XML 1.0 spec does not define most of the information model
provided by a parser, so it is not safe to assume that omission means
prohibition; however, I agree with you and with James (from a posting
a few months ago) that it makes sense to pass over unspecified
#IMPLIED attributes in SAX level 1.


Thanks, and all the best,


David

-- 
David Megginson                 ak117 at freenet.carleton.ca
Microstar Software Ltd.         dmeggins at microstar.com
      http://home.sprynet.com/sprynet/dmeggins/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list