You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/10/10 19:22:44 UTC

DO NOT REPLY [Bug 23733] New: - initialize URI of XalanDocumentBuilder via XalanTransformer::createDocumentBuilder

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=23733>.
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=23733

initialize URI of XalanDocumentBuilder via XalanTransformer::createDocumentBuilder

           Summary: initialize URI of XalanDocumentBuilder via
                    XalanTransformer::createDocumentBuilder
           Product: XalanC
           Version: 1.6
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: XalanC
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: ts@edvwl.de


the URI of the Xalan(Default)DocumentBuilder can't be initialized if
the XalanDocumentBuilder is created via XalanTransformer::createDocumentBuilder
(void) API.

i suggest to add an optional URI param:

XalanTransformer.hpp:
XalanDocumentBuilder*
createDocumentBuilder(const XalanDOMString& = XalanDOMString());

XalanTransformer.cpp:
XalanDocumentBuilder*
XalanTransformer::createDocumentBuilder(const XalanDOMString& theURI)
{
	...
	XalanDocumentBuilder* const 	theNewBuilder = new 
XalanDefaultDocumentBuilder(theURI);
	...
}