[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3847) Bad code indentation in translated manuals
Pete Muir (JIRA)
jira-events at lists.jboss.org
Tue Dec 16 07:48:54 EST 2008
[ https://jira.jboss.org/jira/browse/JBSEAM-3847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12442807#action_12442807 ]
Pete Muir commented on JBSEAM-3847:
-----------------------------------
What does the generated XML (for italian) look like when the ]]> isn't on a new line?
> 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