[ http://issues.apache.org/jira/browse/XALANJ-1835?page=comments#action_12319055 ]
Brian Minchau commented on XALANJ-1835: --------------------------------------- elharo, since there is a new 2.7 release, and the fix for this issue is in there, please verify that this issue is resolved in the new release and close this issue. Thanks. > Fails OASIS namespace test 141/ Puts an element in > http://www.w3.org/XML/1998/namespace default namespace > --------------------------------------------------------------------------------------------------------- > > Key: XALANJ-1835 > URL: http://issues.apache.org/jira/browse/XALANJ-1835 > Project: XalanJ2 > Type: Bug > Components: Xalan-CmdLine > Versions: Latest Development Code > Environment: Operating System: Other > Platform: Other > Reporter: elharo > Assignee: Xalan Developers Mailing List > Fix For: 2.7 > Attachments: namespace141.xml, namespace141.xsl > > I can't explain this one, but it seems Xalan is unnecessarily placing an > element > in the XML namespace, http://www.w3.org/XML/1998/namespace > libxslt gets this test case right: > [EMAIL PROTECTED] namespace]$ xsltproc namespace141.xsl namespace141.xml > <?xml version="1.0" encoding="UTF-8"?> > <out> > <literalName xmlns="http://literalURI"> > <hello1 xmlns=""/><hello2><hiya xmlns=""/></hello2> > <hello3 xmlns="http://literalURI2"><yo1/><yo2 xmlns=""/></hello3> > <hello4 xmlns=""><hey/></hello4></literalName></out> > And here's what Xalan give. Note especially the default namespace for the yo2 > element: > [EMAIL PROTECTED] namespace]$ java -classpath > /opt/xml/xalan-j_2_6_0/bin/xalansamples.jar:/opt/xml/xalan-j_2_6_0/bin/xercesImpl.jar:/opt/xml/xalan-j_2_6_0/bin/xalan.jar > org.apache.xalan.xslt.Process -IN namespace141.xml -XSL namespace141.xsl > <?xml version="1.0" encoding="UTF-8"?> > <out> > <literalName xmlns="http://literalURI"> > <hello1 xmlns=""/><hello2 xmlns="http://literalURI"><hiya > xmlns="http://www.w3.org/XML/1998/namespace"/></hello2> > <hello3 xmlns="http://literalURI2"><yo1 xmlns="http://literalURI"/><yo2 > xmlns="http://www.w3.org/XML/1998/namespace"/></hello3> > <hello4 xmlns=""><hey/></hello4></literalName></out> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
