Re: XML syntax (was Re: external subset syntax)

Paul Prescod (papresco@technologist.com)
Tue, 16 Dec 1997 19:19:42 -0500


Peter Murray-Rust wrote:
>
> my own personal concerns are littered publicly on XML-DEV :-). like you i
> find the different syntaxes very tedious because JUMBO has to read and
> parse both. of course i really enjoy writing parsers especially past
> midnight, and the best bit is tracking down the bugs, but others are
> different. so i sigh, and hack it. fwiw i translate all the non-XML syntax
> into XML internally because XML is superb to work with.

I'm not sure what you mean. Do you really take (e.g.) an ELEMENT
declaration and map it to a textual string <ELEMENT ...>? Or do you mean
that internally you represent it using the same data structure that you
use to represent XML elements.

If the latter, then you have just re-discovered the concept of a grove,
and have also discovered why you can standardize processing software and
data models without necessarily standardizing notation.

Paul Prescod