You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gregor B. Rosenauer (JIRA)" <ji...@codehaus.org> on 2008/04/10 11:38:58 UTC

[jira] Created: (MPXDOC-206) Including DTD breaks xdoc

Including DTD breaks xdoc 
--------------------------

                 Key: MPXDOC-206
                 URL: http://jira.codehaus.org/browse/MPXDOC-206
             Project: Maven 1.x XDoc Plugin
          Issue Type: Bug
    Affects Versions: 1.10.1
         Environment: WindowsXP SP2 x86, JDK6 build 1.6.0_05-b13
            Reporter: Gregor B. Rosenauer
            Priority: Minor
         Attachments: error-report.txt

When including the XDoc-DTD as mentioned in issue MPXDOC-192 site generation fails with a Jelly-Exception.
I cannot say if this is an issue with the xdoc-plugin or with jelly.
My document starts with

   <?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE document PUBLIC "-//Apache Software Foundation//DTD XDOC 1.0//EN"
   "http://maven.apache.org/dtd/xdoc_1_0.dtd">

When invoking the goal xdoc:generate-from-pom (called through a custom goal ta30:doku) I get a Jelly-Exception (full report attached):

Caused by: org.apache.commons.jelly.JellyTagException: file:C:/Dokumente und Einstellungen/Orth/.maven/cache/maven-xdoc-plugin-1.10.1/plugin-resources/sitemap.jsl:84:51: <x:parse> Connection timed out: connect Nested exception: Connection t
imed out: connect
        at org.apache.commons.jelly.tags.xml.ParseTagSupport.parse(ParseTagSuppo
rt.java:186)
        at org.apache.commons.jelly.tags.xml.ParseTag.getXmlDocument(ParseTag.ja
va:106)
        at org.apache.commons.jelly.tags.xml.ParseTag.doTag(ParseTag.java:55)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
        at org.apache.commons.jelly.tags.util.AvailableTag.doTag(AvailableTag.ja
va:68)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
        at org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:
160)
        at org.dom4j.rule.Mode.fireRule(Mode.java:59)
        at org.dom4j.rule.Stylesheet.applyTemplates(Stylesheet.java:185)
        at org.dom4j.rule.Stylesheet.applyTemplates(Stylesheet.java:159)
        at org.apache.commons.jelly.tags.jsl.ApplyTemplatesTag.doTag(ApplyTempla
tesTag.java:67)
        ... 112 more
Caused by: org.dom4j.DocumentException: Connection timed out: connect Nested exc
eption: Connection timed out: connect
        at org.dom4j.io.SAXReader.read(SAXReader.java:484)
        at org.dom4j.io.SAXReader.read(SAXReader.java:264)
        at org.apache.commons.jelly.tags.xml.ParseTagSupport.parse(ParseTagSuppo
rt.java:168)
        ... 126 more

Leaving out the DTD "fixes" the issue, but then I cannot edit the xdoc-file in an XML-editor like the excellent visual XMLmind-editor (with xdoc-type-plugin).

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

        

[jira] Commented: (MPXDOC-206) Including DTD breaks xdoc

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPXDOC-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130455#action_130455 ] 

Lukas Theussl commented on MPXDOC-206:
--------------------------------------

It works for me. Can you attach a small reproducible test case? However, check the connection timeout, maybe a proxy problem?

> Including DTD breaks xdoc 
> --------------------------
>
>                 Key: MPXDOC-206
>                 URL: http://jira.codehaus.org/browse/MPXDOC-206
>             Project: Maven 1.x XDoc Plugin
>          Issue Type: Bug
>    Affects Versions: 1.10.1
>         Environment: WindowsXP SP2 x86, JDK6 build 1.6.0_05-b13
>            Reporter: Gregor B. Rosenauer
>            Priority: Minor
>         Attachments: error-report.txt
>
>
> When including the XDoc-DTD as mentioned in issue MPXDOC-192 site generation fails with a Jelly-Exception.
> I cannot say if this is an issue with the xdoc-plugin or with jelly.
> My document starts with
>    <?xml version="1.0" encoding="UTF-8"?>
>    <!DOCTYPE document PUBLIC "-//Apache Software Foundation//DTD XDOC 1.0//EN"
>    "http://maven.apache.org/dtd/xdoc_1_0.dtd">
> When invoking the goal xdoc:generate-from-pom (called through a custom goal ta30:doku) I get a Jelly-Exception (full report attached):
> Caused by: org.apache.commons.jelly.JellyTagException: file:C:/Dokumente und Einstellungen/Orth/.maven/cache/maven-xdoc-plugin-1.10.1/plugin-resources/sitemap.jsl:84:51: <x:parse> Connection timed out: connect Nested exception: Connection t
> imed out: connect
>         at org.apache.commons.jelly.tags.xml.ParseTagSupport.parse(ParseTagSuppo
> rt.java:186)
>         at org.apache.commons.jelly.tags.xml.ParseTag.getXmlDocument(ParseTag.ja
> va:106)
>         at org.apache.commons.jelly.tags.xml.ParseTag.doTag(ParseTag.java:55)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>         at org.apache.commons.jelly.tags.util.AvailableTag.doTag(AvailableTag.ja
> va:68)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>         at org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:
> 160)
>         at org.dom4j.rule.Mode.fireRule(Mode.java:59)
>         at org.dom4j.rule.Stylesheet.applyTemplates(Stylesheet.java:185)
>         at org.dom4j.rule.Stylesheet.applyTemplates(Stylesheet.java:159)
>         at org.apache.commons.jelly.tags.jsl.ApplyTemplatesTag.doTag(ApplyTempla
> tesTag.java:67)
>         ... 112 more
> Caused by: org.dom4j.DocumentException: Connection timed out: connect Nested exc
> eption: Connection timed out: connect
>         at org.dom4j.io.SAXReader.read(SAXReader.java:484)
>         at org.dom4j.io.SAXReader.read(SAXReader.java:264)
>         at org.apache.commons.jelly.tags.xml.ParseTagSupport.parse(ParseTagSuppo
> rt.java:168)
>         ... 126 more
> Leaving out the DTD "fixes" the issue, but then I cannot edit the xdoc-file in an XML-editor like the excellent visual XMLmind-editor (with xdoc-type-plugin).

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

        

[jira] Closed: (MPXDOC-206) Including DTD breaks xdoc

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPXDOC-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl closed MPXDOC-206.
--------------------------------

      Assignee: Lukas Theussl
    Resolution: Cannot Reproduce

> Including DTD breaks xdoc 
> --------------------------
>
>                 Key: MPXDOC-206
>                 URL: http://jira.codehaus.org/browse/MPXDOC-206
>             Project: Maven 1.x XDoc Plugin
>          Issue Type: Bug
>    Affects Versions: 1.10.1
>         Environment: WindowsXP SP2 x86, JDK6 build 1.6.0_05-b13
>            Reporter: Gregor B. Rosenauer
>            Assignee: Lukas Theussl
>            Priority: Minor
>         Attachments: error-report.txt
>
>
> When including the XDoc-DTD as mentioned in issue MPXDOC-192 site generation fails with a Jelly-Exception.
> I cannot say if this is an issue with the xdoc-plugin or with jelly.
> My document starts with
>    <?xml version="1.0" encoding="UTF-8"?>
>    <!DOCTYPE document PUBLIC "-//Apache Software Foundation//DTD XDOC 1.0//EN"
>    "http://maven.apache.org/dtd/xdoc_1_0.dtd">
> When invoking the goal xdoc:generate-from-pom (called through a custom goal ta30:doku) I get a Jelly-Exception (full report attached):
> Caused by: org.apache.commons.jelly.JellyTagException: file:C:/Dokumente und Einstellungen/Orth/.maven/cache/maven-xdoc-plugin-1.10.1/plugin-resources/sitemap.jsl:84:51: <x:parse> Connection timed out: connect Nested exception: Connection t
> imed out: connect
>         at org.apache.commons.jelly.tags.xml.ParseTagSupport.parse(ParseTagSuppo
> rt.java:186)
>         at org.apache.commons.jelly.tags.xml.ParseTag.getXmlDocument(ParseTag.ja
> va:106)
>         at org.apache.commons.jelly.tags.xml.ParseTag.doTag(ParseTag.java:55)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>         at org.apache.commons.jelly.tags.util.AvailableTag.doTag(AvailableTag.ja
> va:68)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>         at org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:
> 160)
>         at org.dom4j.rule.Mode.fireRule(Mode.java:59)
>         at org.dom4j.rule.Stylesheet.applyTemplates(Stylesheet.java:185)
>         at org.dom4j.rule.Stylesheet.applyTemplates(Stylesheet.java:159)
>         at org.apache.commons.jelly.tags.jsl.ApplyTemplatesTag.doTag(ApplyTempla
> tesTag.java:67)
>         ... 112 more
> Caused by: org.dom4j.DocumentException: Connection timed out: connect Nested exc
> eption: Connection timed out: connect
>         at org.dom4j.io.SAXReader.read(SAXReader.java:484)
>         at org.dom4j.io.SAXReader.read(SAXReader.java:264)
>         at org.apache.commons.jelly.tags.xml.ParseTagSupport.parse(ParseTagSuppo
> rt.java:168)
>         ... 126 more
> Leaving out the DTD "fixes" the issue, but then I cannot edit the xdoc-file in an XML-editor like the excellent visual XMLmind-editor (with xdoc-type-plugin).

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

        

[jira] Reopened: (MPXDOC-206) Including DTD breaks xdoc

Posted by "Gregor B. Rosenauer (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPXDOC-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregor B. Rosenauer reopened MPXDOC-206:
----------------------------------------


sorry, have to reopen because the issue has resurfaced.
The build fails exactly on the first XDOC that includes the DOCTYPE, as soon as I remove it, it runs through.
Log:

xdoc:jelly-transform:
About to use JSL stylesheet file:/C:/Dokumente und Einstellungen/Orth/.maven/cache/maven-xdoc-plugin-1.10.1/plugin-resources/site.jsl
    [echo] de_AT.UTF-8
    [echo] The current Locale is the default one
    [echo] Scanning 'C:\ta30\workspaces\dda_25\ddaMain\target\generated-xdocs'...
    [echo] Generating C:/ta30/workspaces/dda_25/ddaMain/target/docs/changelog-report.html from C:\ta30\workspaces\dda_25\ddaMain\target\generated-xdocs\changelog-report.xml
    [echo] Generating C:/ta30/workspaces/dda_25/ddaMain/target/docs/changes-report.html from C:\ta30\workspaces\dda_25\ddaMain\target\generated-xdocs\changes-report.xml
    [echo] Generating C:/ta30/workspaces/dda_25/ddaMain/target/docs/dependencies.html from C:\ta30\workspaces\dda_25\ddaMain\target\generated-xdocs\dependencies.xml
    [echo] Generating C:/ta30/workspaces/dda_25/ddaMain/target/docs/development-process.html from C:\ta30\workspaces\dda_25\ddaMain\target\generated-xdocs\development-process.xml
    [echo] Generating C:/ta30/workspaces/dda_25/ddaMain/target/docs/downloads.html from C:\ta30\workspaces\dda_25\ddaMain\target\generated-xdocs\downloads.xml
    [echo] Generating C:/ta30/workspaces/dda_25/ddaMain/target/docs/faq.html from C:\ta30\workspaces\dda_25\ddaMain\target\generated-xdocs\faq.xml
    [echo] Generating C:/ta30/workspaces/dda_25/ddaMain/target/docs/file-activity-report.html from C:\ta30\workspaces\dda_25\ddaMain\target\generated-xdocs\file-activity-report.xml
    [echo] Generating C:/ta30/workspaces/dda_25/ddaMain/target/docs/index.html from C:\ta30\workspaces\dda_25\ddaMain\target\generated-xdocs\index.xml
    [echo] Generating C:/ta30/workspaces/dda_25/ddaMain/target/docs/issue-tracking.html from C:\ta30\workspaces\dda_25\ddaMain\target\generated-xdocs\issue-tracking.xml
    [echo] Generating C:/ta30/workspaces/dda_25/ddaMain/target/docs/mail-lists.html from C:\ta30\workspaces\dda_25\ddaMain\target\generated-xdocs\mail-lists.xml
    [echo] Generating C:/ta30/workspaces/dda_25/ddaMain/target/docs/maven-reports.html from C:\ta30\workspaces\dda_25\ddaMain\target\generated-xdocs\maven-reports.xml
    [echo] Generating C:/ta30/workspaces/dda_25/ddaMain/target/docs/project-info.html from C:\ta30\workspaces\dda_25\ddaMain\target\generated-xdocs\project-info.xml
    [echo] Generating C:/ta30/workspaces/dda_25/ddaMain/target/docs/scm-usage.html from C:\ta30\workspaces\dda_25\ddaMain\target\generated-xdocs\scm-usage.xml
    [echo] Generating C:/ta30/workspaces/dda_25/ddaMain/target/docs/team-list.html from C:\ta30\workspaces\dda_25\ddaMain\target\generated-xdocs\team-list.xml
Transforming user supplied documentation.
    [echo] The current Locale is the default one
    [echo] Scanning 'C:\ta30\workspaces\dda_25\ddaMain\xdocs'...
    [echo] Generating C:/ta30/workspaces/dda_25/ddaMain/target/docs/adobeCentralTemplates.html from C:\ta30\workspaces\dda_25\ddaMain\xdocs\adobeCentralTemplates.xml
    [echo] Generating C:/ta30/workspaces/dda_25/ddaMain/target/docs/aktualisierung.html from C:\ta30\workspaces\dda_25\ddaMain\xdocs\aktualisierung.xml
    [echo] Generating C:/ta30/workspaces/dda_25/ddaMain/target/docs/batch.html from C:\ta30\workspaces\dda_25\ddaMain\xdocs\batch.xml
-------------------------------------------------------------------------------
>> Unable to obtain goal [xdoc:transform]
>> Connection timed out: connect Nested exception: Connection timed out: connect
>> Connection timed out: connect
-------------------------------------------------------------------------------
BUILD FAILED

> Including DTD breaks xdoc 
> --------------------------
>
>                 Key: MPXDOC-206
>                 URL: http://jira.codehaus.org/browse/MPXDOC-206
>             Project: Maven 1.x XDoc Plugin
>          Issue Type: Bug
>    Affects Versions: 1.10.1
>         Environment: WindowsXP SP2 x86, JDK6 build 1.6.0_05-b13
>            Reporter: Gregor B. Rosenauer
>            Priority: Minor
>         Attachments: error-report.txt
>
>
> When including the XDoc-DTD as mentioned in issue MPXDOC-192 site generation fails with a Jelly-Exception.
> I cannot say if this is an issue with the xdoc-plugin or with jelly.
> My document starts with
>    <?xml version="1.0" encoding="UTF-8"?>
>    <!DOCTYPE document PUBLIC "-//Apache Software Foundation//DTD XDOC 1.0//EN"
>    "http://maven.apache.org/dtd/xdoc_1_0.dtd">
> When invoking the goal xdoc:generate-from-pom (called through a custom goal ta30:doku) I get a Jelly-Exception (full report attached):
> Caused by: org.apache.commons.jelly.JellyTagException: file:C:/Dokumente und Einstellungen/Orth/.maven/cache/maven-xdoc-plugin-1.10.1/plugin-resources/sitemap.jsl:84:51: <x:parse> Connection timed out: connect Nested exception: Connection t
> imed out: connect
>         at org.apache.commons.jelly.tags.xml.ParseTagSupport.parse(ParseTagSuppo
> rt.java:186)
>         at org.apache.commons.jelly.tags.xml.ParseTag.getXmlDocument(ParseTag.ja
> va:106)
>         at org.apache.commons.jelly.tags.xml.ParseTag.doTag(ParseTag.java:55)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>         at org.apache.commons.jelly.tags.util.AvailableTag.doTag(AvailableTag.ja
> va:68)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>         at org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:
> 160)
>         at org.dom4j.rule.Mode.fireRule(Mode.java:59)
>         at org.dom4j.rule.Stylesheet.applyTemplates(Stylesheet.java:185)
>         at org.dom4j.rule.Stylesheet.applyTemplates(Stylesheet.java:159)
>         at org.apache.commons.jelly.tags.jsl.ApplyTemplatesTag.doTag(ApplyTempla
> tesTag.java:67)
>         ... 112 more
> Caused by: org.dom4j.DocumentException: Connection timed out: connect Nested exc
> eption: Connection timed out: connect
>         at org.dom4j.io.SAXReader.read(SAXReader.java:484)
>         at org.dom4j.io.SAXReader.read(SAXReader.java:264)
>         at org.apache.commons.jelly.tags.xml.ParseTagSupport.parse(ParseTagSuppo
> rt.java:168)
>         ... 126 more
> Leaving out the DTD "fixes" the issue, but then I cannot edit the xdoc-file in an XML-editor like the excellent visual XMLmind-editor (with xdoc-type-plugin).

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

        

[jira] Resolved: (MPXDOC-206) Including DTD breaks xdoc

Posted by "Gregor B. Rosenauer (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPXDOC-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregor B. Rosenauer resolved MPXDOC-206.
----------------------------------------

    Resolution: Fixed

> Including DTD breaks xdoc 
> --------------------------
>
>                 Key: MPXDOC-206
>                 URL: http://jira.codehaus.org/browse/MPXDOC-206
>             Project: Maven 1.x XDoc Plugin
>          Issue Type: Bug
>    Affects Versions: 1.10.1
>         Environment: WindowsXP SP2 x86, JDK6 build 1.6.0_05-b13
>            Reporter: Gregor B. Rosenauer
>            Priority: Minor
>         Attachments: error-report.txt
>
>
> When including the XDoc-DTD as mentioned in issue MPXDOC-192 site generation fails with a Jelly-Exception.
> I cannot say if this is an issue with the xdoc-plugin or with jelly.
> My document starts with
>    <?xml version="1.0" encoding="UTF-8"?>
>    <!DOCTYPE document PUBLIC "-//Apache Software Foundation//DTD XDOC 1.0//EN"
>    "http://maven.apache.org/dtd/xdoc_1_0.dtd">
> When invoking the goal xdoc:generate-from-pom (called through a custom goal ta30:doku) I get a Jelly-Exception (full report attached):
> Caused by: org.apache.commons.jelly.JellyTagException: file:C:/Dokumente und Einstellungen/Orth/.maven/cache/maven-xdoc-plugin-1.10.1/plugin-resources/sitemap.jsl:84:51: <x:parse> Connection timed out: connect Nested exception: Connection t
> imed out: connect
>         at org.apache.commons.jelly.tags.xml.ParseTagSupport.parse(ParseTagSuppo
> rt.java:186)
>         at org.apache.commons.jelly.tags.xml.ParseTag.getXmlDocument(ParseTag.ja
> va:106)
>         at org.apache.commons.jelly.tags.xml.ParseTag.doTag(ParseTag.java:55)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>         at org.apache.commons.jelly.tags.util.AvailableTag.doTag(AvailableTag.ja
> va:68)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>         at org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:
> 160)
>         at org.dom4j.rule.Mode.fireRule(Mode.java:59)
>         at org.dom4j.rule.Stylesheet.applyTemplates(Stylesheet.java:185)
>         at org.dom4j.rule.Stylesheet.applyTemplates(Stylesheet.java:159)
>         at org.apache.commons.jelly.tags.jsl.ApplyTemplatesTag.doTag(ApplyTempla
> tesTag.java:67)
>         ... 112 more
> Caused by: org.dom4j.DocumentException: Connection timed out: connect Nested exc
> eption: Connection timed out: connect
>         at org.dom4j.io.SAXReader.read(SAXReader.java:484)
>         at org.dom4j.io.SAXReader.read(SAXReader.java:264)
>         at org.apache.commons.jelly.tags.xml.ParseTagSupport.parse(ParseTagSuppo
> rt.java:168)
>         ... 126 more
> Leaving out the DTD "fixes" the issue, but then I cannot edit the xdoc-file in an XML-editor like the excellent visual XMLmind-editor (with xdoc-type-plugin).

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

        

[jira] Commented: (MPXDOC-206) Including DTD breaks xdoc

Posted by "Gregor B. Rosenauer (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPXDOC-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130517#action_130517 ] 

Gregor B. Rosenauer commented on MPXDOC-206:
--------------------------------------------

(I am currently at home but will try on Monday at work)
I have configured the proxy for my Maven1-environment properly and it works normally, do I have to specify a separate proxy in this case? Is there another configuration I am not aware of?
It is true that it looks like a timeout, but I have maven.proxy.host and maven.proxy.port configured properly.



> Including DTD breaks xdoc 
> --------------------------
>
>                 Key: MPXDOC-206
>                 URL: http://jira.codehaus.org/browse/MPXDOC-206
>             Project: Maven 1.x XDoc Plugin
>          Issue Type: Bug
>    Affects Versions: 1.10.1
>         Environment: WindowsXP SP2 x86, JDK6 build 1.6.0_05-b13
>            Reporter: Gregor B. Rosenauer
>            Priority: Minor
>         Attachments: error-report.txt
>
>
> When including the XDoc-DTD as mentioned in issue MPXDOC-192 site generation fails with a Jelly-Exception.
> I cannot say if this is an issue with the xdoc-plugin or with jelly.
> My document starts with
>    <?xml version="1.0" encoding="UTF-8"?>
>    <!DOCTYPE document PUBLIC "-//Apache Software Foundation//DTD XDOC 1.0//EN"
>    "http://maven.apache.org/dtd/xdoc_1_0.dtd">
> When invoking the goal xdoc:generate-from-pom (called through a custom goal ta30:doku) I get a Jelly-Exception (full report attached):
> Caused by: org.apache.commons.jelly.JellyTagException: file:C:/Dokumente und Einstellungen/Orth/.maven/cache/maven-xdoc-plugin-1.10.1/plugin-resources/sitemap.jsl:84:51: <x:parse> Connection timed out: connect Nested exception: Connection t
> imed out: connect
>         at org.apache.commons.jelly.tags.xml.ParseTagSupport.parse(ParseTagSuppo
> rt.java:186)
>         at org.apache.commons.jelly.tags.xml.ParseTag.getXmlDocument(ParseTag.ja
> va:106)
>         at org.apache.commons.jelly.tags.xml.ParseTag.doTag(ParseTag.java:55)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>         at org.apache.commons.jelly.tags.util.AvailableTag.doTag(AvailableTag.ja
> va:68)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>         at org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:
> 160)
>         at org.dom4j.rule.Mode.fireRule(Mode.java:59)
>         at org.dom4j.rule.Stylesheet.applyTemplates(Stylesheet.java:185)
>         at org.dom4j.rule.Stylesheet.applyTemplates(Stylesheet.java:159)
>         at org.apache.commons.jelly.tags.jsl.ApplyTemplatesTag.doTag(ApplyTempla
> tesTag.java:67)
>         ... 112 more
> Caused by: org.dom4j.DocumentException: Connection timed out: connect Nested exc
> eption: Connection timed out: connect
>         at org.dom4j.io.SAXReader.read(SAXReader.java:484)
>         at org.dom4j.io.SAXReader.read(SAXReader.java:264)
>         at org.apache.commons.jelly.tags.xml.ParseTagSupport.parse(ParseTagSuppo
> rt.java:168)
>         ... 126 more
> Leaving out the DTD "fixes" the issue, but then I cannot edit the xdoc-file in an XML-editor like the excellent visual XMLmind-editor (with xdoc-type-plugin).

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

        

[jira] Commented: (MPXDOC-206) Including DTD breaks xdoc

Posted by "Gregor B. Rosenauer (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPXDOC-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130752#action_130752 ] 

Gregor B. Rosenauer commented on MPXDOC-206:
--------------------------------------------

When launching the xdoc:default-goal directly, it stops at the same position, so no custom build issues here:
{quote}
xdoc:generate-from-pom:
    [echo] Generating xdocs from POM ... 

     
    
    
    xdoc:sitemap-noinit:
-------------------------------------------------------------------------------
>> Unable to obtain goal [xdoc:generate-from-pom]
>> Connection timed out: connect Nested exception: Connection timed out: connect
>> Connection timed out: connect
-------------------------------------------------------------------------------
BUILD FAILED
{quote}
However launching the goal xdoc:transform directly generates the documentation correctly.

> Including DTD breaks xdoc 
> --------------------------
>
>                 Key: MPXDOC-206
>                 URL: http://jira.codehaus.org/browse/MPXDOC-206
>             Project: Maven 1.x XDoc Plugin
>          Issue Type: Bug
>    Affects Versions: 1.10.1
>         Environment: WindowsXP SP2 x86, JDK6 build 1.6.0_05-b13
>            Reporter: Gregor B. Rosenauer
>            Priority: Minor
>         Attachments: error-report.txt
>
>
> When including the XDoc-DTD as mentioned in issue MPXDOC-192 site generation fails with a Jelly-Exception.
> I cannot say if this is an issue with the xdoc-plugin or with jelly.
> My document starts with
>    <?xml version="1.0" encoding="UTF-8"?>
>    <!DOCTYPE document PUBLIC "-//Apache Software Foundation//DTD XDOC 1.0//EN"
>    "http://maven.apache.org/dtd/xdoc_1_0.dtd">
> When invoking the goal xdoc:generate-from-pom (called through a custom goal ta30:doku) I get a Jelly-Exception (full report attached):
> Caused by: org.apache.commons.jelly.JellyTagException: file:C:/Dokumente und Einstellungen/Orth/.maven/cache/maven-xdoc-plugin-1.10.1/plugin-resources/sitemap.jsl:84:51: <x:parse> Connection timed out: connect Nested exception: Connection t
> imed out: connect
>         at org.apache.commons.jelly.tags.xml.ParseTagSupport.parse(ParseTagSuppo
> rt.java:186)
>         at org.apache.commons.jelly.tags.xml.ParseTag.getXmlDocument(ParseTag.ja
> va:106)
>         at org.apache.commons.jelly.tags.xml.ParseTag.doTag(ParseTag.java:55)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>         at org.apache.commons.jelly.tags.util.AvailableTag.doTag(AvailableTag.ja
> va:68)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>         at org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:
> 160)
>         at org.dom4j.rule.Mode.fireRule(Mode.java:59)
>         at org.dom4j.rule.Stylesheet.applyTemplates(Stylesheet.java:185)
>         at org.dom4j.rule.Stylesheet.applyTemplates(Stylesheet.java:159)
>         at org.apache.commons.jelly.tags.jsl.ApplyTemplatesTag.doTag(ApplyTempla
> tesTag.java:67)
>         ... 112 more
> Caused by: org.dom4j.DocumentException: Connection timed out: connect Nested exc
> eption: Connection timed out: connect
>         at org.dom4j.io.SAXReader.read(SAXReader.java:484)
>         at org.dom4j.io.SAXReader.read(SAXReader.java:264)
>         at org.apache.commons.jelly.tags.xml.ParseTagSupport.parse(ParseTagSuppo
> rt.java:168)
>         ... 126 more
> Leaving out the DTD "fixes" the issue, but then I cannot edit the xdoc-file in an XML-editor like the excellent visual XMLmind-editor (with xdoc-type-plugin).

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

        

[jira] Issue Comment Edited: (MPXDOC-206) Including DTD breaks xdoc

Posted by "Gregor B. Rosenauer (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPXDOC-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130752#action_130752 ] 

grexe edited comment on MPXDOC-206 at 4/14/08 11:07 AM:
----------------------------------------------------------------------

When launching the xdoc:default-goal directly, it stops at the same position, so no custom build issues here:
{quote}
xdoc:generate-from-pom:
    [echo] Generating xdocs from POM ... 

     
    
    
    xdoc:sitemap-noinit:
-------------------------------------------------------------------------------
>> Unable to obtain goal [xdoc:generate-from-pom]
>> Connection timed out: connect Nested exception: Connection timed out: connect
>> Connection timed out: connect
-------------------------------------------------------------------------------
BUILD FAILED
{quote}
However launching the goal xdoc:transform directly generates the documentation correctly.

*Update:*
The culprit was a DOCTYPE declaration in the changes.xml - the changelog-plugin does not accept this doctype and has trouble looking up the DTD it seems. Also, changes.xml-files do not conform to the general XDOC-doctype (does not know the "release"-tag etc.), so the declaration was in the wrong place anyway.

Now I only need to figure out why my sitemap is generated wrong even though I did not include any sitemap in my menu.xml - but that's another story...

      was (Author: grexe):
    When launching the xdoc:default-goal directly, it stops at the same position, so no custom build issues here:
{quote}
xdoc:generate-from-pom:
    [echo] Generating xdocs from POM ... 

     
    
    
    xdoc:sitemap-noinit:
-------------------------------------------------------------------------------
>> Unable to obtain goal [xdoc:generate-from-pom]
>> Connection timed out: connect Nested exception: Connection timed out: connect
>> Connection timed out: connect
-------------------------------------------------------------------------------
BUILD FAILED
{quote}
However launching the goal xdoc:transform directly generates the documentation correctly.
  
> Including DTD breaks xdoc 
> --------------------------
>
>                 Key: MPXDOC-206
>                 URL: http://jira.codehaus.org/browse/MPXDOC-206
>             Project: Maven 1.x XDoc Plugin
>          Issue Type: Bug
>    Affects Versions: 1.10.1
>         Environment: WindowsXP SP2 x86, JDK6 build 1.6.0_05-b13
>            Reporter: Gregor B. Rosenauer
>            Priority: Minor
>         Attachments: error-report.txt
>
>
> When including the XDoc-DTD as mentioned in issue MPXDOC-192 site generation fails with a Jelly-Exception.
> I cannot say if this is an issue with the xdoc-plugin or with jelly.
> My document starts with
>    <?xml version="1.0" encoding="UTF-8"?>
>    <!DOCTYPE document PUBLIC "-//Apache Software Foundation//DTD XDOC 1.0//EN"
>    "http://maven.apache.org/dtd/xdoc_1_0.dtd">
> When invoking the goal xdoc:generate-from-pom (called through a custom goal ta30:doku) I get a Jelly-Exception (full report attached):
> Caused by: org.apache.commons.jelly.JellyTagException: file:C:/Dokumente und Einstellungen/Orth/.maven/cache/maven-xdoc-plugin-1.10.1/plugin-resources/sitemap.jsl:84:51: <x:parse> Connection timed out: connect Nested exception: Connection t
> imed out: connect
>         at org.apache.commons.jelly.tags.xml.ParseTagSupport.parse(ParseTagSuppo
> rt.java:186)
>         at org.apache.commons.jelly.tags.xml.ParseTag.getXmlDocument(ParseTag.ja
> va:106)
>         at org.apache.commons.jelly.tags.xml.ParseTag.doTag(ParseTag.java:55)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>         at org.apache.commons.jelly.tags.util.AvailableTag.doTag(AvailableTag.ja
> va:68)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>         at org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:
> 160)
>         at org.dom4j.rule.Mode.fireRule(Mode.java:59)
>         at org.dom4j.rule.Stylesheet.applyTemplates(Stylesheet.java:185)
>         at org.dom4j.rule.Stylesheet.applyTemplates(Stylesheet.java:159)
>         at org.apache.commons.jelly.tags.jsl.ApplyTemplatesTag.doTag(ApplyTempla
> tesTag.java:67)
>         ... 112 more
> Caused by: org.dom4j.DocumentException: Connection timed out: connect Nested exc
> eption: Connection timed out: connect
>         at org.dom4j.io.SAXReader.read(SAXReader.java:484)
>         at org.dom4j.io.SAXReader.read(SAXReader.java:264)
>         at org.apache.commons.jelly.tags.xml.ParseTagSupport.parse(ParseTagSuppo
> rt.java:168)
>         ... 126 more
> Leaving out the DTD "fixes" the issue, but then I cannot edit the xdoc-file in an XML-editor like the excellent visual XMLmind-editor (with xdoc-type-plugin).

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

        

[jira] Commented: (MPXDOC-206) Including DTD breaks xdoc

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPXDOC-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131774#action_131774 ] 

Lukas Theussl commented on MPXDOC-206:
--------------------------------------

If you don't attach a small test case I will close this as 'Cannot reproduce', it works for me. 

> Including DTD breaks xdoc 
> --------------------------
>
>                 Key: MPXDOC-206
>                 URL: http://jira.codehaus.org/browse/MPXDOC-206
>             Project: Maven 1.x XDoc Plugin
>          Issue Type: Bug
>    Affects Versions: 1.10.1
>         Environment: WindowsXP SP2 x86, JDK6 build 1.6.0_05-b13
>            Reporter: Gregor B. Rosenauer
>            Priority: Minor
>         Attachments: error-report.txt
>
>
> When including the XDoc-DTD as mentioned in issue MPXDOC-192 site generation fails with a Jelly-Exception.
> I cannot say if this is an issue with the xdoc-plugin or with jelly.
> My document starts with
>    <?xml version="1.0" encoding="UTF-8"?>
>    <!DOCTYPE document PUBLIC "-//Apache Software Foundation//DTD XDOC 1.0//EN"
>    "http://maven.apache.org/dtd/xdoc_1_0.dtd">
> When invoking the goal xdoc:generate-from-pom (called through a custom goal ta30:doku) I get a Jelly-Exception (full report attached):
> Caused by: org.apache.commons.jelly.JellyTagException: file:C:/Dokumente und Einstellungen/Orth/.maven/cache/maven-xdoc-plugin-1.10.1/plugin-resources/sitemap.jsl:84:51: <x:parse> Connection timed out: connect Nested exception: Connection t
> imed out: connect
>         at org.apache.commons.jelly.tags.xml.ParseTagSupport.parse(ParseTagSuppo
> rt.java:186)
>         at org.apache.commons.jelly.tags.xml.ParseTag.getXmlDocument(ParseTag.ja
> va:106)
>         at org.apache.commons.jelly.tags.xml.ParseTag.doTag(ParseTag.java:55)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>         at org.apache.commons.jelly.tags.util.AvailableTag.doTag(AvailableTag.ja
> va:68)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>         at org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:
> 160)
>         at org.dom4j.rule.Mode.fireRule(Mode.java:59)
>         at org.dom4j.rule.Stylesheet.applyTemplates(Stylesheet.java:185)
>         at org.dom4j.rule.Stylesheet.applyTemplates(Stylesheet.java:159)
>         at org.apache.commons.jelly.tags.jsl.ApplyTemplatesTag.doTag(ApplyTempla
> tesTag.java:67)
>         ... 112 more
> Caused by: org.dom4j.DocumentException: Connection timed out: connect Nested exc
> eption: Connection timed out: connect
>         at org.dom4j.io.SAXReader.read(SAXReader.java:484)
>         at org.dom4j.io.SAXReader.read(SAXReader.java:264)
>         at org.apache.commons.jelly.tags.xml.ParseTagSupport.parse(ParseTagSuppo
> rt.java:168)
>         ... 126 more
> Leaving out the DTD "fixes" the issue, but then I cannot edit the xdoc-file in an XML-editor like the excellent visual XMLmind-editor (with xdoc-type-plugin).

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