You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Henry Zongaro (JIRA)" <xa...@xml.apache.org> on 2006/10/13 16:54:34 UTC

[jira] Created: (XALANJ-2326) XSLTC generates prefixes that are too unique

XSLTC generates prefixes that are too unique
--------------------------------------------

                 Key: XALANJ-2326
                 URL: http://issues.apache.org/jira/browse/XALANJ-2326
             Project: XalanJ2
          Issue Type: Bug
          Components: XSLTC
    Affects Versions: 2.7
            Reporter: Henry Zongaro
            Priority: Minor


Given a stylesheet that contains an xsl:element instruction with a namespace attribute whose effective value is not the empty string and a name attribute whose value has variable parts and whose effective value does not have a prefix, XSLTC will generate a prefix that is unique not just within the context of that element in the output document or even within the entire output document, but within the entire JVM instance.  Applying the stylesheet once might result in prefixes ns0, ns1 and ns2 being created, and then a second time in the same JVM might result in prefixes ns3, ns4 and ns5 being created, and so on.

If the results of these transformations are subsequently parsed by the same instance of Xerces, Xerces symbol table might end up consuming a ridiculous amount of memory keeping track of each of these unique prefixes.

-- 
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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Commented: (XALANJ-2326) XSLTC generates prefixes that are too unique

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XALANJ-2326?page=comments#action_12443019 ] 
            
Brian Minchau commented on XALANJ-2326:
---------------------------------------

Per the JIRA triage meeting on Oct 16, 2005 this is a minor issue not likely to cause problems.

> XSLTC generates prefixes that are too unique
> --------------------------------------------
>
>                 Key: XALANJ-2326
>                 URL: http://issues.apache.org/jira/browse/XALANJ-2326
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: XSLTC
>    Affects Versions: 2.7
>            Reporter: Henry Zongaro
>            Priority: Minor
>         Attachments: J2326.java
>
>
> Given a stylesheet that contains an xsl:element instruction with a namespace attribute whose effective value is not the empty string and a name attribute whose value has variable parts and whose effective value does not have a prefix, XSLTC will generate a prefix that is unique not just within the context of that element in the output document or even within the entire output document, but within the entire JVM instance.  Applying the stylesheet once might result in prefixes ns0, ns1 and ns2 being created, and then a second time in the same JVM might result in prefixes ns3, ns4 and ns5 being created, and so on.
> If the results of these transformations are subsequently parsed by the same instance of Xerces, Xerces symbol table might end up consuming a ridiculous amount of memory keeping track of each of these unique prefixes.

-- 
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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org