[ 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to