← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 1266754] Re: Generate help content

 

Can you please send me the file privately and I will take a look at it and
report back?

--Sent from my mobile
On Jan 8, 2014 5:25 PM, "Paulo Grácio" <pgracio@xxxxxxxxxxxxxxxxxxxx> wrote:

> Hi Jason,
>
> the problem in fact is that if we create a new DHIS2 build with the
> generated file when rendering it you have the following exception:
>
> Caused by: javax.xml.transform.TransformerException:
> javax.xml.transform.TransformerException:
> com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The element
> type "section" must be terminated by the matching end-tag "</section>".
>         at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:739)
>         at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:340)
>         at
> org.hisp.dhis.help.DefaultHelpManager.getHelpItems(DefaultHelpManager.java:90)
>         ... 96 more
> Caused by: javax.xml.transform.TransformerException:
> com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The element
> type "section" must be terminated by the matching end-tag "</section>".
>         at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getDOM(TransformerImpl.java:568)
>         at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:729)
>         ... 98 more
> Caused by: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException:
> The element type "section" must be terminated by the matching end-tag
> "</section>".
>         at
> com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:464)
>         at
> com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:252)
>         at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getDOM(TransformerImpl.java:546)
>
> --
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/1266754
>
> Title:
>   Generate help content
>
> Status in DHIS 2:
>   New
>
> Bug description:
>   I was trying to generate help_content file based on our translation to
>   Portuguese. To make sure I was doing everything correct I tried to
>   generate first the default file based on English translation to check
>   if the contents were the same. What I did was:
>
>   -     Copy script from resources/util/compile_help_content.sh script to
> /dhis2-docs/dhis2-docbook-docs/src/docbkx/en
>   -     Execute ./compile_help_content.sh
>
>   Once the generated file is different from the one in /dhis-2/dhis-
>   services/dhis-service-core/src/main/resources/help_content.xml I guess
>   I’m doing something wrong… any idea?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1266754/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References