[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Conformance in XML processors

  • From: Peter Murray-Rust <peter@u...>
  • To: xml-dev@i...
  • Date: Sun, 18 Jan 1998 12:22:47

Re: Conformance in XML processors
OK - let's have another go - I really am trying to be constructive, rather
than argumentative.

At 04:45 18/01/98 -0500, Paul Prescod wrote:
>Peter Murray-Rust wrote:
>> 
>> Not all XML applications will wish to use browsers  - they may wish to call
>> parsing functionality from C programs, UNIX shells and other places. I
>> agree wholeheartedly that if XML libraries are universally available then
>> there shouldn't be a problem. That is one reason why I'm keen to see SAX
>> available in other languages than Java.   However I have many colleagues
>> who still use FORTRAN and other languages  where I suspect it will be some
>> time before e a set of XML libraries become available.
>
>Hopefully most fortran compilers will be able to link to C libraries.

Exactly. And I hope that the community is able to develop them. [I am sure
all the functionality is present already in SP, but I confess that as a
novice to SGML I didn't find it easy to find my way around when I first
looked at it. Treat that as a reflection on me.]

>Another alternative is to pipe the data through a normalizer as we do
>for full SGML. Presumably even in Fortan a parser for normalized XML
>will not take more than two days to write.

Exactly. IMO this is one of the attractions of SAX-C. And this is where I
think we agree. It was precisely this normalised aspect of XML I was
addressing. [I should make it clear that this is not hypothetical - I am
confident that some sections of the molecular community will adopt XML, but
only up to a certain level at the beginning.] A typical example of a WF,
normalised, XML file might look like:

<?xml version="1.0"?> <!-- magic incantation -->
<MOL NAME="water" xml:lang="EN">
<ATOM ID="O1">O</ATOM>
<ATOM ID="H2">H</ATOM>
<ATOM ID="H3">H</ATOM>
<BOND>O1 H2</BOND>
<BOND>O1 H3</BOND>
<DC:author>Doe</DC:author>
</MOL>

Essentially such a file is a subset of the ESIS information (no attribute
typing, no entities, no notation) and uses no CDATA or entity references.
It is my contention that there will be many people (some will be DPHs) who
will be quite happy to create XML files no more sophisticated than this and
will want *tools* to *operate on* them. [I carefully avoid the use of the
word "process" or "processor".] These tools may even be
application-independent. I was simply making the case that in my opinion
there is a role for such tools, and that it is perfectly reasonable for
such tools to say "I can  operate on certain types of XML file. If I come
across a more complicated one, I'll abort and tell you." 
>
>> Perhaps my experience has been clouded by  early exposure to C++, but it
>> was extremely common there to find that different compilers had different
>> functionality. If this is a non-problem for XML I rejoice.
>
>C++ became a standard only within the last few months. Everything that
>was labelled C++ up to then was a valiant attempt to track a moving
>target of epic complexity. Even now C++ compilers have wildly divergent
>feature sets because implementing one is so hard that it takes years to
>get it right (and the requisite years have not yet passed for some
>compilers). The important thing to note is that what we have in the
>meantime are "not right" (in other words, not true C++ compilers).

Agreed. I am reassured that the creation of standard tools for XML, XLL,
XSL  and so on will be much less arduous. 
> 
> Paul Prescod
>--
>"You have the wrong number."
>"Eh? Isn't that the Odeon?"
>"No, this is the Great Theater of Life. Admission is free, but the 
>taxation is mortal. You come when you can, and leave when you must. The 
>show is continuous. Good-night." -- Robertson Davies, "The Cunning Man"
>
>xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
>Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
>To (un)subscribe, mailto:majordomo@i... the following message;
>(un)subscribe xml-dev
>To subscribe to the digests, mailto:majordomo@i... the following message;
>subscribe xml-dev-digest
>List coordinator, Henry Rzepa (mailto:rzepa@i...)
>
>
Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.