OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX: org.xml.sax.AttributeMap

[ Lists Home | Date Index | Thread Index ]
  • From: Peter Murray-Rust <peter@ursus.demon.co.uk>
  • To: James Clark <jjc@jclark.com>, xml-dev Mailing List <xml-dev@ic.ac.uk>
  • Date: Wed, 25 Feb 1998 08:42:39

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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS