Lists Home |
Date Index |
David Fallside just posted the rationale for the SOAP decisions
to subset XML. Note that SOAP is an infoset specification.
"XMLP WG Response on "SOAP and the Internal Subset""
Well worth reading for insights into the issues of attempting
to subset XML for the purpose of creating a special purpose
XML processor. The comments:
"SOAP messages are specified as XML Infosets -- see  (Note, references
are to a snapshot of the latest editors' copies of the SOAP specs,
reflecting some resolutions to last call issues. I believe the version I
am referencing is the latest that is stable in W3C URI "date space". It is
later than our last official WD.) The initial sender prepares a SOAP
message in the form of what the Infoset Recommendation calls a "synthetic
infoset" . In other words, the initial sender typically does not have a
document to parse to produce the infoset; rather, the initial sender
establishes, using programming structures of its choosing (could be
something like DOM or SAX) the elements, attributes and other content of
the outgoing message."
"Of course, the counter argument to all this is: XML allows internal
subsets and external subsets, lots of off the shelf parsers would implement
them for you, and indeed some might not report the presence of the DTD at
all. First of all, SOAP is not the only application of XML that requires
parsers to report the presence of DTDs. Surely an XML editor would as
well. Indeed, there is no W3C specification for what a general purpose
processor must be, just for what XML is."
are illuminating. As I said earlier, what is at stake in the syntax
vs threads and the subsets/profiles threads is the standard definition
of the semantics of an XML processor.
From: Sean McGrath [mailto:email@example.com]
I passed your message along to a colleague. Here are her comments:
>XML is a syntax. It has no data model. So how would one "bury a data
>model" in it even if one wanted to?
No problem. Just invent something like XML Schema and the PSVI. Express
processing in terms of infoset items (a data structure) with associated
strong typing information and your done!