xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dane Foster" <dfos...@equitytg.com>
Subject Re: Question about document type nodes and JAXP
Date Mon, 16 Oct 2000 21:17:28 GMT
I'm having trouble understanding why you would want to duplicate an XML
document in memory.  Please explain.

Dane
----- Original Message -----
From: "Eric Hodges" <harmony2@swbell.net>
To: <general@xml.apache.org>; <xerces-j-dev@xml.apache.org>;
<xerces-dev@xml.apache.org>
Sent: Monday, October 16, 2000 4:53 PM
Subject: RE: Question about document type nodes and JAXP


> I'm still trying to add a DocumentType from to a Document.  I'm using
> DocumentImpl.createDocumentType(name, publicId, systemId) to create the
new
> DocumentType.  When I call Document.importNode(docType, true) I get a run
> time error (NullPointerException) because DocumentImpl asks the
DocumentType
> for it's owner document.  It doesn't have one and there's no test to see
if
> it succeeded.
>
> Please help.
>
> > -----Original Message-----
> > From: Eric Hodges [mailto:eric.hodges@mongoosetech.com]
> > Sent: Tuesday, October 10, 2000 2:30 PM
> > To: xerces-j-dev@xml.apache.org; xerces-dev@xml.apache.org;
> > general@xml.apache.org
> > Subject: Question about document type nodes and JAXP
> >
> >
> > I need to duplicate XML documents.  I'm using Xerces, going
> > through the JAXP
> > interface.  I can't find any way to copy the document type node from one
> > document to a new one.  What are other people doing in this
> > situation, or is
> > there a suggested way to do it?
> >
> > Thanks.
> >
> >
> > ---------------------------------------------------------------------
> > In case of troubles, e-mail:     webmaster@xml.apache.org
> > To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> > For additional commands, e-mail: general-help@xml.apache.org
> >
>
>
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org
>
>


Mime
View raw message