You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Hans-Peter Küchler (JIRA)" <xa...@xml.apache.org> on 2005/03/02 03:12:51 UTC

[jira] Created: (XALANC-461) generate-id() generates strings with not only ASCII alphanumeric characters

generate-id() generates strings with not only ASCII alphanumeric characters
---------------------------------------------------------------------------

         Key: XALANC-461
         URL: http://issues.apache.org/jira/browse/XALANC-461
     Project: XalanC
        Type: Bug
  Components: XalanC  
    Versions: 1.9    
 Environment: Windows XP
    Reporter: Hans-Peter Küchler
 Attachments: err01.xml, err01.xsl

generate-id() generates strings with not only ASCII alphanumeric characters.

see http://www.w3.org/TR/xslt#function-generate-id

"The generate-id function returns a string that uniquely identifies the node in 
the argument node-set that is first in document order. The unique identifier 
must consist of ASCII alphanumeric characters and must start with an 
alphabetic character."

Run: Xalan err01.xml err01.xsl
Out: N003EDC10.00596458

Xalan  from Xalan-C_1_9_0-win32-msvc_60.zip
Xerces from xerces-c_2_6_0-windows_nt-msvc_60.zip

patch:
change line 69 in FunctionGenerateID.cpp

from

  append(theResult, XalanDOMChar(XalanUnicode::charFullStop));

to

  append(theResult, XalanDOMChar(XalanUnicode::charLetter_N));

or to

//  append(theResult, XalanDOMChar(XalanUnicode::charFullStop));


regards, Hans-Peter Küchler

-- 
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
-
If you want more information on JIRA, or have a bug to report 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] Updated: (XALANC-461) generate-id() generates strings with not only ASCII alphanumeric characters

Posted by "Hans-Peter Küchler (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANC-461?page=history ]

Hans-Peter Küchler updated XALANC-461:
--------------------------------------

    Attachment: err01.xml
                err01.xsl

testcase attached

> generate-id() generates strings with not only ASCII alphanumeric characters
> ---------------------------------------------------------------------------
>
>          Key: XALANC-461
>          URL: http://issues.apache.org/jira/browse/XALANC-461
>      Project: XalanC
>         Type: Bug
>   Components: XalanC
>     Versions: 1.9
>  Environment: Windows XP
>     Reporter: Hans-Peter Küchler
>  Attachments: err01.xml, err01.xsl
>
> generate-id() generates strings with not only ASCII alphanumeric characters.
> see http://www.w3.org/TR/xslt#function-generate-id
> "The generate-id function returns a string that uniquely identifies the node in 
> the argument node-set that is first in document order. The unique identifier 
> must consist of ASCII alphanumeric characters and must start with an 
> alphabetic character."
> Run: Xalan err01.xml err01.xsl
> Out: N003EDC10.00596458
> Xalan  from Xalan-C_1_9_0-win32-msvc_60.zip
> Xerces from xerces-c_2_6_0-windows_nt-msvc_60.zip
> patch:
> change line 69 in FunctionGenerateID.cpp
> from
>   append(theResult, XalanDOMChar(XalanUnicode::charFullStop));
> to
>   append(theResult, XalanDOMChar(XalanUnicode::charLetter_N));
> or to
> //  append(theResult, XalanDOMChar(XalanUnicode::charFullStop));
> regards, Hans-Peter Küchler

-- 
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
-
If you want more information on JIRA, or have a bug to report 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] Resolved: (XALANC-461) generate-id() generates strings with not only ASCII alphanumeric characters

Posted by "David Bertoni (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANC-461?page=history ]
     
David Bertoni resolved XALANC-461:
----------------------------------

     Resolution: Duplicate
    Fix Version: CurrentCVS

This is a duplicate of XALANC-445.

> generate-id() generates strings with not only ASCII alphanumeric characters
> ---------------------------------------------------------------------------
>
>          Key: XALANC-461
>          URL: http://issues.apache.org/jira/browse/XALANC-461
>      Project: XalanC
>         Type: Bug
>   Components: XalanC
>     Versions: 1.9
>  Environment: Windows XP
>     Reporter: Hans-Peter Küchler
>      Fix For: CurrentCVS
>  Attachments: err01.xml, err01.xsl
>
> generate-id() generates strings with not only ASCII alphanumeric characters.
> see http://www.w3.org/TR/xslt#function-generate-id
> "The generate-id function returns a string that uniquely identifies the node in 
> the argument node-set that is first in document order. The unique identifier 
> must consist of ASCII alphanumeric characters and must start with an 
> alphabetic character."
> Run: Xalan err01.xml err01.xsl
> Out: N003EDC10.00596458
> Xalan  from Xalan-C_1_9_0-win32-msvc_60.zip
> Xerces from xerces-c_2_6_0-windows_nt-msvc_60.zip
> patch:
> change line 69 in FunctionGenerateID.cpp
> from
>   append(theResult, XalanDOMChar(XalanUnicode::charFullStop));
> to
>   append(theResult, XalanDOMChar(XalanUnicode::charLetter_N));
> or to
> //  append(theResult, XalanDOMChar(XalanUnicode::charFullStop));
> regards, Hans-Peter Küchler

-- 
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
-
If you want more information on JIRA, or have a bug to report 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