[Dhis2-devs] [Bug 1266754] Re: Generate help content

2014-01-22 Thread Acia
Hi jason,


At the help center there are some menu topics (listed below) that are coming 
empty, no content at all. Any clue on why this could be happening?

 Is important to us as we need to decide on whether to translate the
corresponding file contents to Portuguese or not!


Thank you in advance.

Kind Regards


These are the topics and corresponding files:
 1. Dsigning a data set
dhis2_user_man_dataset_design_example.xml 

2. Mobile
dhis2_user_man_mobile.xml

3. WebAPI
pt\dhis2_user_man_web_api.xml

4. Using pivot table
dhis2_user_man_using_pivot_table.xml

5. Getting started with DHIS as end-user (repetido duas vezes)
dhis2_user_man_getting_started_enduser.xml
dhis2_user_man_getting_started_enduser_ke.xml

6. Sharing
dhis2_user_man_sharing.xml

7. Apps
dhis2_user_man_apps.xml

-- 
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug 1266754] Re: Generate help content

2014-01-22 Thread Jason Pickering
Hi there. Do you mean the original (English) is not appearing or the
translation (PT) is not appearing?

Regards,
Jason


On Wed, Jan 22, 2014 at 5:50 PM, Acia al-am...@criticalsoftware.co.mzwrote:

 Hi jason,


 At the help center there are some menu topics (listed below) that are
 coming empty, no content at all. Any clue on why this could be happening?

  Is important to us as we need to decide on whether to translate the
 corresponding file contents to Portuguese or not!


 Thank you in advance.

 Kind Regards


 These are the topics and corresponding files:
  1. Dsigning a data set
 dhis2_user_man_dataset_design_example.xml

 2. Mobile
 dhis2_user_man_mobile.xml

 3. WebAPI
 pt\dhis2_user_man_web_api.xml

 4. Using pivot table
 dhis2_user_man_using_pivot_table.xml

 5. Getting started with DHIS as end-user (repetido duas vezes)
 dhis2_user_man_getting_started_enduser.xml
 dhis2_user_man_getting_started_enduser_ke.xml

 6. Sharing
 dhis2_user_man_sharing.xml

 7. Apps
 dhis2_user_man_apps.xml

 --
 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@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 1266754] Re: Generate help content

2014-01-22 Thread Paulo Grácio
Hi Jason,

The anwswer is both. If you go to

http://apps.dhis2.org/demo/dhis-web-commons-about/help.action

and select Designing a data set section or Getting started with DHIS
2 as end-user section there is nothing there... maybe these sections
shouldn't be there...

Regards,
Paulo

-- 
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug 1266754] Re: Generate help content

2014-01-22 Thread jason.p.pickering
OK. The fundamental issue here is that the English sources are
missing id=foo XML attributes in the DocBook source.These tags need to be
there, and are missing in the original document. If it is time urgent, I
suggest you add some unique and reasonable tags to the English docs, and
then use these same tags in the translations. Otherwise, I can add them
once I get a chance. In the meantime however, you can proceed with the
translation (if it is not already done) and I am sure we can work it out
rather easily.

Regards,
Jason


On Wed, Jan 22, 2014 at 8:02 PM, Paulo Grácio
pgra...@criticalsoftware.comwrote:

 Hi Jason,

 The anwswer is both. If you go to

 http://apps.dhis2.org/demo/dhis-web-commons-about/help.action

 and select Designing a data set section or Getting started with DHIS
 2 as end-user section there is nothing there... maybe these sections
 shouldn't be there...

 Regards,
 Paulo

 --
 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@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp


-- 
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug 1266754] Re: Generate help content

2014-01-13 Thread Jason Pickering
I did not try to compile the application with the XML file but the XML
itself was valid. What problem are you having exactly?

--Sent from my mobile
On Jan 13, 2014 12:11 PM, Paulo Grácio pgra...@criticalsoftware.com
wrote:

 Hi Jason,



 Have you tried this? I have tried your suggestion but seems not to be
 working L



 Regards,

 Paulo Grácio



 *From:* Dhis2-devs [mailto:dhis2-devs-bounces+pgracio=
 criticalsoftware@lists.launchpad.net] *On Behalf Of *Jason Pickering
 *Sent:* sábado, 11 de Janeiro de 2014 05:07
 *To:* Bug 1266754
 *Cc:* dhis2-devs
 *Subject:* Re: [Dhis2-devs] [Bug 1266754] Re: Generate help content



 Hi Paulo,



 I got your file and this XML file needs a '![CDATA[' tag on line 1988.
 After that it seems to be valid XML at least.



 This is caused by line 21 of the script 'if [[ ${LINE} =~
 (\?xml|!DOCTYPE|!ENTITY) ]];'   which deletes this line from the help
 file.



 Not sure who came up with the script, but I guess this needs to be fixed.



 Regards,

 Jason





 On Wed, Jan 8, 2014 at 5:43 PM, Jason Pickering 
 jason.p.picker...@gmail.com wrote:

 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 pgra...@criticalsoftware.com
 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@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug 1266754] Re: Generate help content

2014-01-13 Thread Paulo Grácio
Hi Jason,


The error was on line 2014, after removing  ‘/screen’ it is now working.
Please see attach.


Regards,

Paulo Grácio


** Attachment added: error.png
   https://bugs.launchpad.net/bugs/1266754/+attachment/3947752/+files/error.png

-- 
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug 1266754] Re: Generate help content

2014-01-10 Thread Paulo Grácio
Hi Jason,

 

Any idea of what might be causing this problem?

 

Regards,

Paulo Grácio

 

From: Paulo Grácio [mailto:pgra...@criticalsoftware.com] 
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@lists.launchpad.net]
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 pgra...@criticalsoftware.com 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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug 1266754] Re: Generate help content

2014-01-10 Thread Jason Pickering
Hi Paulo,

I got your file and this XML file needs a '![CDATA[' tag on line 1988.
After that it seems to be valid XML at least.

This is caused by line 21 of the script 'if [[ ${LINE} =~
(\?xml|!DOCTYPE|!ENTITY) ]];'   which deletes this line from the help
file.

Not sure who came up with the script, but I guess this needs to be fixed.

Regards,
Jason



On Wed, Jan 8, 2014 at 5:43 PM, Jason Pickering jason.p.picker...@gmail.com
 wrote:

 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 pgra...@criticalsoftware.com
 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@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 1266754] Re: Generate help content

2014-01-08 Thread Paulo Grácio
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug 1266754] Re: Generate help content

2014-01-08 Thread Jason Pickering
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 pgra...@criticalsoftware.com 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@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp