James, Line 296 of the released dom4j-1.1 code has a small mistake. It calls setInternalDeclarations instead of setExternalDeclarations. This doesn't show when using Crimson, but when using Xerces both internalDeclarations and externalDeclarations are set to NULL.
public void endDTD() throws SAXException { insideDTDSection = false; if ( document != null ) { DocumentType docType = document.getDocType(); if ( docType != null ) { if ( internalDTDDeclarations != null ) { docType.setInternalDeclarations( internalDTDDeclarations ); } if ( externalDTDDeclarations != null ) { BEFORE docType.setInternalDeclarations( externalDTDDeclarations ); AFTER docType.setExternalDeclarations( externalDTDDeclarations ); } } } internalDTDDeclarations = null; externalDTDDeclarations = null; } Chuck Simpson [EMAIL PROTECTED] _______________________________________________ dom4j-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-dev