APIs vs Markup

Don Park donpark at docuverse.com
Sat Nov 13 21:19:29 GMT 1999


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 :).

Best,

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


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