Doesn't that go against the DOM spec to create a Document with no document
element?

Brion

-----Original Message-----
From: Edwin Goei [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 2:01 PM
To: [EMAIL PROTECTED]
Subject: Re: creating an null DOCTYPE in Xerces2

Not in the version of Xerces 2 that I see.  The code in
org.apache.xerces.jaxp.DocumentBuilderImpl says...

    public Document newDocument() {
        return new org.apache.xerces.dom.DocumentImpl();
    }

which should just create a single node.

-Edwin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to