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 2001/11/13 21:23:12 UTC

DO NOT REPLY [Bug 4847] New: - nodeset extension resetting default namespace when not necessary

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

nodeset extension resetting default namespace when not necessary

           Summary: nodeset extension resetting default namespace when not
                    necessary
           Product: XalanC
           Version: 1.2.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XalanC
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: pauldick@apache.org


When the included stylesheet is executed the output for test:elem3 resets the 
default namespace with the following declaration xmlns="".  This seems to be 
unnecessary.

The results follow;
<out>
<Copy-of-RTF>
<docelem xmlns="http://www.hello.com">
<elem1>
<elem1a>ELEMENT1A</elem1a>
<elem1b>,ELEMENT1B</elem1b>
</elem1>
<elem2>
<elem2a>ELEMENT2A</elem2a>
<elem2b/>
</elem2>
<elem3>1</elem3>
<elem3>2</elem3>
<test:elem3 xmlns:test="http://www.cnn.com" xmlns=""/>
<elem3>4</elem3>
<elem3>5</elem3>
<elem4>Yahoo</elem4>
</docelem>
</Copy-of-RTF>
</out>