[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3847) Bad code indentation in translated manuals

Nicola Benaglia (JIRA) jira-events at lists.jboss.org
Tue Dec 16 10:55:55 EST 2008


    [ https://jira.jboss.org/jira/browse/JBSEAM-3847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12442867#action_12442867 ] 

Nicola Benaglia commented on JBSEAM-3847:
-----------------------------------------

If it's a po2xml bug, 
why does the snapshot manual at 
http://snapshots.jboss.org/maven2/org/jboss/seam/reference-guide/seam-reference-guide/2.1.1-SNAPSHOT/
has the same problem which I described?

Now I am going to copy and paste some code in french version and see if the generated manual as the same problem.






> Bad code indentation in translated manuals
> ------------------------------------------
>
>                 Key: JBSEAM-3847
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3847
>             Project: Seam
>          Issue Type: Bug
>          Components: Documentation Translation
>         Environment: Ubuntu 8.04
> Sun JDK 1.6.0.07
>            Reporter: Nicola Benaglia
>            Priority: Trivial
>
> Translating into italian I copy all the code without translation.
> The translated manual has a lot of such copied code not well-indented.
> Example:
> -------------------------------------------------------------------------
> <pages>
>   <page view-id="/hello.jsp" action="#{helloWorld.sayHello}"/>
> </pages
> >
> ---------------------------(note the last > at new line)----------
> Sometime the indentation is okay.
> Looking at the PO file I see that it's OKAY when:
> "<![CDATA[<pages>\n"
> "    <page view-id=\"/hello.jsp\" action=\"#{helloWorld.sayHello}\"/>\n"
> "</pages>\n"
> "]]>"
> And it's WRONG when:
> "<![CDATA[<pages>\n"
> "    <page view-id=\"/hello.jsp\" action=\"#{helloWorld.sayHello}\"/>\n"
> "</pages>]]>"
> i.e. it depends on ]]>, which must be at a new line.
> Bye,
> Nico

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list