Why XML data typing is hard

John Cowan cowan at locke.ccil.org
Fri Dec 4 17:54:26 GMT 1998

Joel Bender wrote:

> How about a new layer between XML and the application?  The layer (a)
> filters SAX-like 'messages' (function/procedure calls) from the parser to
> the application and applies patterns to data as necessary, generating new
> messages

Did you say "filters SAX"?  Head to my web page (see below) to get
hold of a useful framework.

> or (b) can be applied to a DOM implementation to check the
> validity of a document more completely.

Also on that page: DOMParser, which walks a DOM and generates
SAX events from it.

> I assume that date formats have even more variations than numbers, at least
> until there is agreement on a stardate!

Actually ISO 8601 is slowly gaining on its competitors, and has a
good chance of winning.

John Cowan	http://www.ccil.org/~cowan		cowan at ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

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