DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16671>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16671 XercesParserLiaison::mapToXercescDocument does not work Summary: XercesParserLiaison::mapToXercescDocument does not work Product: XalanC Version: 1.4.x Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: XalanC AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] [This applies to CVS version (1.5)] I am trying to use XercesParserLiaison::mapToXercesDocument() to get the result of a transform back as a Xerces DOMDocument * . The XalanDocument in the XSLTResultTarget is a valid transformed document, but when I pass it to XercesParserLiaison::mapToXercesDocument( ) I get a zero result. Code fragment to reproduce: XercesParserLiaison the_parser_liaison; XalanDocument * document_result = the_parser_liaison.createDocument(); XSLTResultTarget target ( document_result ); int result = xalan.transform ( *source, *sheet, target ); XalanElement * element = document_result->getDocumentElement(); std::cerr << "Document element is " << element << ", " << XMLString::transcode ( element->getNodeName().c_str() ) << std::endl; The above code outputs the document element's node name correctly, as generated by the transform. const DOMDocument * dom_result = the_parser_liaison.mapToXercesDocument( document_result ); dom_result now has the value 0;
