ak117 at freenet.carleton.ca
Fri Dec 26 15:15:57 GMT 1997
Andrew Layman writes:
> I have to agree with Paul here. If the interface is only
> implementable in a single language, then you've failed.
> Programmers need to make engineering tradeoffs among a number of
> factors, and will sometimes very reasonably choose one language
> over another. We could expediently pick one language and ignore
> all others in order to simplify the problem a little, but that
> would be letting the solution dictate the problem. I don't
> recommend it, since it would simply mean that the parsers written
> in other languages would be guaranteed incompatible.
I have no intention of proposing anything that precludes a compiled
language (without runtime type-checking), so if that's the only
barrier, then there is no need for concern.
There _is_ a reason for concern, however, with the goals and scope of
this project. It will be (I hope) an easy task to design a simple
API, with sample interfaces in Java, but we need to know what kind of
an API we are designing, and why.
For example, when DOM interfaces are available for NXP, Ælfred, and
Lark as well as MSXML, Peter may not need any other common interface
for Jumbo. If people really want the DOM, then the parser writers
should work on implementing whatever the current draft defines instead
of spending time on the simple interface. If they still need the
simple event-based interface, then I have to understand what they need
1) (My suggestion.) A pre-DOM interface, defining the events returned
by an XML parser, and providing enough information to build a DOM
tree (PIs, attributes, elements, data, DOCTYPE declarations, etc.).
2) (Tim's suggestion.) A post-DOM interface, for people who don't
want to learn the complexity of the DOM, and providing only the
minimum possible information (elements, attributes, and data).
Do we need either if these? If so, which one do we want?
All the best,
David Megginson ak117 at freenet.carleton.ca
Microstar Software Ltd. dmeggins at microstar.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/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev