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


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: APIs vs Markup

[ Lists Home | Date Index | Thread Index ]
  • From: "Don Park" <donpark@docuverse.com>
  • To: <xml-dev@ic.ac.uk>
  • Date: Sat, 13 Nov 1999 13:20:16 -0800

Tim Bray wrote:
>For things like log files, just treat 'em as a succession of small
>XML documents.  Is this a problem? -T.

Neat.  Your idea seems to go hand-in-hand with your other message
about root element being a transport-independent device for knowing
when a document ends.  What about the miscelleneous stuff (production
#25) though?

Also it gets a little complicated when log entries have to reference
other log entries (for composite events or chain of events).  If each
log entries are midget XML documents, references between log entries
must be inter-document references.

I also wonder how many of the XML parsers out there will work with this
'succession of small XML documents' as is.  The SAX API should work
with it as long as people do not assume that startDocument/endDocument
methods are invoked exactly once per Parser.parse call.

Hmm.  Perhaps its time for the "Safe SAX" guide (seriously, folks :).


Don Park    -   mailto:donpark@docuverse.com
Docuverse   -   http://www.docuverse.com

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/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe 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