[jdom-interest] Problem with DocType when converting JDOM Document to (JAXP) W3CDocument

Jason Hunter jhunter at acm.org
Tue Oct 23 09:16:12 PDT 2001


JAXP is a little library that automatically select a parser for you
based on system properties.  There's no such thing as a "JAXP
Document".  Thus I don't understand your question.

-jh-

"Bilton, Sasha" wrote:
> 
> Hi,
> 
> We've encountered a problem when converting a JDOM Documnet to JAXP Documnet
> with the DocType.
> 
> Basically after the conversion, the DocType is missing.
> 
> To set the DocType in JDom we,
> 
>         DocType docType = new DocType("SKYOUTBOUNDFEED", "xxx/shy.dtd");
>         skyOutboundFeedXML.setDocType(docType);
> 
> Log.info(skyOutboundFeedXML.getDocType()); shows that the DocType is there
> in JDom, but the output XML from JAXP Document shows it as blank.
> 
> Any ideas?
> 
> Thanks in advance
> 
> Sasha
> 
> 
> **********************************************************************
> Information in this email is confidential and may be privileged.
> It is intended for the addressee only. If you have received it in error,
> please notify the sender immediately and delete it from your system.
> You should not otherwise copy it, retransmit it or use or disclose its
> contents to anyone.
> Thank you for your co-operation.
> **********************************************************************
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com



More information about the jdom-interest mailing list