← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 1266754] Re: Generate help content

 

Hi Jason,

 

Any idea of what might be causing this problem?

 

Regards,

Paulo Grácio

 

From: Paulo Grácio [mailto:pgracio@xxxxxxxxxxxxxxxxxxxx] 
Sent: quarta-feira, 8 de Janeiro de 2014 16:00
To: 'Jason Pickering'
Subject: RE: [Dhis2-devs] [Bug 1266754] Re: Generate help content

 

Hi Jason,

 

Attached you can find both, default one and the one with Portuguese
translation

 

Regards,

Paulo Grácio

From: Dhis2-devs
[mailto:dhis2-devs-bounces+pgracio=criticalsoftware.com@xxxxxxxxxxxxxxxxxxx]
On Behalf Of Jason Pickering
Sent: quarta-feira, 8 de Janeiro de 2014 15:43
To: Bug 1266754
Cc: dhis2-devs
Subject: Re: [Dhis2-devs] [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(Trans
formerImpl.java:739)
        at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Trans
formerImpl.java:340)
        at
org.hisp.dhis.help.DefaultHelpManager.getHelpItems(DefaultHelpManager.java:9
0)
        ... 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(Transfor
merImpl.java:568)
        at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Trans
formerImpl.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(XSLTCDTMM
anager.java:464)
        at
com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMM
anager.java:252)
        at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getDOM(Transfor
merImpl.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


References