You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Jo...@lotus.com on 2001/10/02 16:09:31 UTC

[ANNOUNCEMENT] Xalan-J 2.2.D11 released

We have just posted Xalan-Java version 2.2.D11 (a Developer's release) to
xml.apache.org. To get a complete build with samples, sources, and
documentation, download and unzip either of the following from
http://xml.apache.org/dist/xalan-j/.

     xalan-j_2_2_D11.zip
     xalan-j_2_2_D11.tar.gz

The sources are tagged in cvs as 'xalan-j_2_2_D11'.


One change to be aware of: We've corrected a past oversight, and are now
declaring the implicit "xml:" namespace on the root element. This adds one
more Namespace Node to the DTM tree, which will cause slightly different
values to be computed by generate-id(key()), and may affect XPaths which
use the namespace:: axis. The test suite has been updated to reflect these
changes.


Re: [ANNOUNCEMENT] Xalan-J 2.2.D11 released

Posted by Edwin Goei <ed...@sun.com>.
Joseph_Kesselman@lotus.com wrote:
> 
> We have just posted Xalan-Java version 2.2.D11 (a Developer's release) to
> xml.apache.org. To get a complete build with samples, sources, and
> documentation, download and unzip either of the following from
> http://xml.apache.org/dist/xalan-j/.
> 
>      xalan-j_2_2_D11.zip
>      xalan-j_2_2_D11.tar.gz
> 
> The sources are tagged in cvs as 'xalan-j_2_2_D11'.

Hmmm, I don't see this tag in CVS, nor any tag containing "D11".

-Edwin

---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


xmlns:xml attribute

Posted by "Victor M. Moreno" <vm...@germinus.com>.
Hello,
I have developed a xsl extension that returns a NodeSet.
This NodeSet is: <img src="whatever" />
I am building this NodeSet with the following source code.

The problem is that I am getting the following:
<img xmlns:xml="http://www.w3.org/XML/1998/namespace"
src="http://appserver3:8004/Empresa01/20000007"/>

I do not know with the attribute  "xmlns:xml"  appears;
I have tried with: elemento.removeAttribute("xmlns:xml") without success.

Anyone know how I can get rid of this attribute?


Thanks

Victor




    NodeSet inter= new NodeSet();
    Node res = null;
    Element elemento;

    DocumentBuilderFactory docBF = DocumentBuilderFactory.newInstance();
    DocumentBuilder docB = docBF.newDocumentBuilder();
    Document document = docB.newDocument();

    elemento = document.createElement("img");

    elemento.setAttribute("src",enlace);
    //elemento.removeAttribute("xmlns");

    res = elemento;
    inter.addNode(res);