[Home] [By Thread] [By Date] [Recent Entries]
At 09:42 25/02/98 +0700, James Clark wrote: > >> public abstract String getType (int index); > >I like this. > So do I. As XML grows larger and acquires more extensions (XLL, XSL, etc.) there will be an increasing number of 'hardcoded' attribute types and values. For example, the type of HREF/href is effectively determined as CDATA (it would be perverse to make it ID, for example, even if not in xml-link context) and xml:lang is required (I think) to be NMTOKEN or NMTOKENS. Hardcoding all these 'special cases' is a pain and SAX (or DOM) can help with implementing the prose in the specs. P. Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic net connection VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary http://www.venus.co.uk/vhg xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|

Cart



