[jira] [Commented] (FOP-2452) the string-length($str) result is incorrect if $str contains japanese character

2015-02-26 Thread Pascal Sancho (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14338204#comment-14338204
 ] 

Pascal Sancho commented on FOP-2452:


oups, big fingers...

 the string-length($str) result is incorrect if $str contains japanese 
 character
 ---

 Key: FOP-2452
 URL: https://issues.apache.org/jira/browse/FOP-2452
 Project: Fop
  Issue Type: Bug
 Environment: fop1.0
Reporter: zhangcui

 xsl:variable name=aa
   xsl:value-of select=string-length('1ffガメン') + 10 /
 xsl:value-of select='mm' /
 /xsl:variable
 fo:table
 fo:table-column column-number=1 /
 fo:table-body
   fo:table-row 
   fo:table-cell
   fo:block 
   xsl:value-of select='1ffガメン' 
 /xsl:value-of select='H1' /
   /fo:block
   fo:block start-indent={$aa}
   xsl:value-of select='HH' /
   /fo:block
   /fo:table-cell
   /fo:table-row
   /fo:table-body
   /fo:table
 result:
 1ffガメンH1
 ---HH
 it should be like this
 1ffガメンH1
 --HH
 actually,i want layout like this,H1andHH are Vertical alignment
 1ffガメン---H1
 --HH
 how can theH1andHH become vertical alignment ?
 if anyone can help,thank you!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2452) the string-length($str) result is incorrect if $str contains japanese character

2015-02-26 Thread Pascal Sancho (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14338208#comment-14338208
 ] 

Pascal Sancho commented on FOP-2452:


you should 1st ask on XSLT user list (Cf. [1]), more appropriate for such 
question, and, if issue is confirmed, open an issue on relevant bugtracker, 
depending on what XSLT engine you are using.
Note that for convenience, FOP comes with Xalan.

[1] http://xmlgraphics.apache.org/fop/maillist.html#xslt-mulberry

 the string-length($str) result is incorrect if $str contains japanese 
 character
 ---

 Key: FOP-2452
 URL: https://issues.apache.org/jira/browse/FOP-2452
 Project: Fop
  Issue Type: Bug
 Environment: fop1.0
Reporter: zhangcui

 xsl:variable name=aa
   xsl:value-of select=string-length('1ffガメン') + 10 /
 xsl:value-of select='mm' /
 /xsl:variable
 fo:table
 fo:table-column column-number=1 /
 fo:table-body
   fo:table-row 
   fo:table-cell
   fo:block 
   xsl:value-of select='1ffガメン' 
 /xsl:value-of select='H1' /
   /fo:block
   fo:block start-indent={$aa}
   xsl:value-of select='HH' /
   /fo:block
   /fo:table-cell
   /fo:table-row
   /fo:table-body
   /fo:table
 result:
 1ffガメンH1
 ---HH
 it should be like this
 1ffガメンH1
 --HH
 actually,i want layout like this,H1andHH are Vertical alignment
 1ffガメン---H1
 --HH
 how can theH1andHH become vertical alignment ?
 if anyone can help,thank you!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2452) the string-length($str) result is incorrect if $str contains japanese character

2015-02-26 Thread zhangcui (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14339676#comment-14339676
 ] 

zhangcui commented on FOP-2452:
---

thanks for your reply.
i change the code, could you check this 
https://issues.apache.org/jira/browse/FOP-2453

 the string-length($str) result is incorrect if $str contains japanese 
 character
 ---

 Key: FOP-2452
 URL: https://issues.apache.org/jira/browse/FOP-2452
 Project: Fop
  Issue Type: Bug
 Environment: fop1.0
Reporter: zhangcui

 xsl:variable name=aa
   xsl:value-of select=string-length('1ffガメン') + 10 /
 xsl:value-of select='mm' /
 /xsl:variable
 fo:table
 fo:table-column column-number=1 /
 fo:table-body
   fo:table-row 
   fo:table-cell
   fo:block 
   xsl:value-of select='1ffガメン' 
 /xsl:value-of select='H1' /
   /fo:block
   fo:block start-indent={$aa}
   xsl:value-of select='HH' /
   /fo:block
   /fo:table-cell
   /fo:table-row
   /fo:table-body
   /fo:table
 result:
 1ffガメンH1
 ---HH
 it should be like this
 1ffガメンH1
 --HH
 actually,i want layout like this,H1andHH are Vertical alignment
 1ffガメン---H1
 --HH
 how can theH1andHH become vertical alignment ?
 if anyone can help,thank you!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2452) the string-length($str) result is incorrect if $str contains japanese character

2015-02-26 Thread zhangcui (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14339677#comment-14339677
 ] 

zhangcui commented on FOP-2452:
---

thanks for your reply.
i change the code, could you check this 
https://issues.apache.org/jira/browse/FOP-2453

 the string-length($str) result is incorrect if $str contains japanese 
 character
 ---

 Key: FOP-2452
 URL: https://issues.apache.org/jira/browse/FOP-2452
 Project: Fop
  Issue Type: Bug
 Environment: fop1.0
Reporter: zhangcui

 xsl:variable name=aa
   xsl:value-of select=string-length('1ffガメン') + 10 /
 xsl:value-of select='mm' /
 /xsl:variable
 fo:table
 fo:table-column column-number=1 /
 fo:table-body
   fo:table-row 
   fo:table-cell
   fo:block 
   xsl:value-of select='1ffガメン' 
 /xsl:value-of select='H1' /
   /fo:block
   fo:block start-indent={$aa}
   xsl:value-of select='HH' /
   /fo:block
   /fo:table-cell
   /fo:table-row
   /fo:table-body
   /fo:table
 result:
 1ffガメンH1
 ---HH
 it should be like this
 1ffガメンH1
 --HH
 actually,i want layout like this,H1andHH are Vertical alignment
 1ffガメン---H1
 --HH
 how can theH1andHH become vertical alignment ?
 if anyone can help,thank you!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)