[jdom-interest] DTD support?
Stefan ALBOI
sbll at ss.pub.ro
Tue May 15 12:29:42 PDT 2001
I'm not asking if JDOM supports checking of DOCTYPE's in a
document. That's done by the parser.
I'm asking about the classes that will allow in-memory DTD
representation. The developers stated in the TODO list:
[quote]
Investigate a way to do in-memory validation. First step is probably
to get an in-memory representation of a DTD as per
http://xmlhack.com/read.php?item=626
http://www.wutka.com/dtdparser.html
http://lists.denveronline.net/lists/jdom-interest/2000-July/001431.html
[/quote]
So I repeat my questions:
In what stage of developing is the DTD support for JDOM?
Is the project from http://www.wutka.com/dtdparser.html going to be a part
of JDOM?
On Tue, 15 May 2001, [iso-8859-1] Simon wrote:
> Not too sure if I understand the first of your
> questions; are you asking if JDOM supports checking of
> DOCTYPE's in a document? if so, it does; have a look
> at constructing a document using build() on an
> instance of org.jdom.input.SAXBuilder such as
>
> SAXBuilder builder = new SAXBuilder(true); // DTD
> checking is ON
>
> try {
> Document doc = builder.build(someXmlRef);
> } catch (JDOMException e) {
> // ...
> }
>
> .s
>
More information about the jdom-interest
mailing list