SAX, DTDs, parsing...
jriedese at jnana.com
Thu May 14 17:37:35 BST 1998
I didn't find it that simple to get at the DTD data.
And, it appeared to me that the regular expression parts of DTD elements
weren't really accessible in any clean API fashion.
Yes, I can muck with the source, but I'd rather not; especially
since I thought I've seen reports of bugginess on the part of
MSXML - I don't want to have to start maintaining it in order
to do what I want to do.
Ideally, I'd like to throw a DTD file at a validating XML parser,
in addition to a normal XML file which references an external
DTD; and in both cases, get details of the DTD out of the parser.
(Lots and lots of details!)
I also noticed, that with MSXML, if the DTD is external to the XML;
you can't get to the DTD elements from the parsed document. That 'node'
isn't available to them main tree once parsing is done. I found that
to be a bit annoying too.
> MSXML is a validating parser written in Java. You can get at
> the DTD, but only
> as XML-Data elements. Of course, they ship the code, so you
> could probably go
> straight to their internal structures.
> -- Ron Bourret
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