[
Lists Home |
Date Index |
Thread Index
]
- From: johns@syscore.com (John F. Schlesinger)
- To: <xml-dev@xml.org>
- Date: Mon, 19 Jun 2000 17:46:37 -0400
Mike Kay wrote:
"Think OSI 7-layer model. XML is layer 6, adxml is layer 7."
I agree with Mike (I'm enjoying your XSL book by the way) that XML is a
layer 6 (presentation) kind of thing. So are BNF and ASN-1. That raises the
question, why is XML better than ASN-1 or BNF?
Here's one thing I miss from ASN-1 - BER (Basic Encoding Rules). BER lets
ASN-1 be represented "on the wire" in a deterministic and changeable way (I
can't stream XML unless I change the representation).
XML's heritage is documents not data and so the idea of BER is new to those
from the SGML community. At the moment, all we get is the XML processing
directive with its encoding attribute.
I would like to be able to represent the XML message "on the wire" as a
Generalised Data Stream (that is, with a code point representing the tag and
a length to the end of the tag). This would be a much better way of
streaming a message and would enable the first part of a message to appear
on a browser or in a program before the last part has been processed. I know
SAX can stream events, but for SAX to work the whole tag must be parsed,
whereas with GDS whole tags can be skipped.
Any thoughts?
Yours,
John F Schlesinger
SysCore Solutions
212 619 5200 x 219
917 886 5895 Mobile
-----Original Message-----
From: owner-xml-dev@xml.org [mailto:owner-xml-dev@xml.org]On Behalf Of
Kay Michael
Sent: Monday, June 19, 2000 5:56 AM
To: 'Andrew Gorman'; xml-dev@xml.org
Subject: RE: Another Question
> I'm quite new to the world of XML, and am doing research to learn more
about
> the language. It seems to me that XML can be adapted to
> whatever usage required, and it seems that it is renamed each time, or
> better put, a prefix is added. If it is specifically used for
advertising, it is
> called adxml
Think OSI 7-layer model. XML is layer 6, adxml is layer 7.
Mike Kay
***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************
***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************
|