You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Achim Westermann (JIRA)" <ji...@codehaus.org> on 2005/04/05 16:04:55 UTC

[jira] Created: (MPLICENSE-2) Invalid form feed NCR ( ) generated.

Invalid form feed NCR (&#12;) generated. 
-----------------------------------------

         Key: MPLICENSE-2
         URL: http://jira.codehaus.org/browse/MPLICENSE-2
     Project: maven-license-plugin
        Type: Bug
 Environment: Windows XP, SP2, Maven V 1.02, Jdk 1.4.2_05-b04.
    Reporter: Achim Westermann


The plugin was run against the lgpl: 

   <licenses>
    <license>
     <name>
       LGPL, version 2.1
      </name>
      <url>
       http://www.opensource.org/licenses/lgpl-license.php
      </url>
      <distribution>
        manual
      </distribution>
     </license>
   </licenses>

The following url was also tried: 

       http://www.gnu.org/licenses/lgpl.txt


In both cases, the information seems to be extracted correctly, 
but the generated xdoc file: license.xml always ends with: 

&#12;
</source></section></body></document>

This seems to be an NCR to a form feed character, possibly a side effect of some transformation? 
During the xdoc to html translation (xdoc:jelly-transform) the following error terminates the 
complete build: 

"BUILD FAILED
File...... C:\Dokumente und Einstellungen\westermann\.maven\cache\maven-xdoc-plugin-1.8\plugin.jelly
Element... x:parse
Line...... 360
Column.... 43
Error on line 460 of document file:/C:/achim/workspace/OpenCms/target/generated-xdocs/license.xml : Character reference "&#c" is an invalid
XML character. Nested exception: Character reference "&#c" is an invalid XML character.
Total time: 6 seconds
Finished at: Tue Apr 05 15:32:19 CEST 2005
"

Annotation: "&#c" ?  0xC (Hex) corresponds to 0D 12 (Decimal). 




-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPLICENSE-2) Invalid form feed NCR ( ) generated.

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPLICENSE-2?page=comments#action_47720 ] 

Lukas Theussl commented on MPLICENSE-2:
---------------------------------------

Unfortunately it seems that the gpl and lgpl texts published at http://www.gnu.org/licenses/ are not plain text - they contain some special, non-ASCII characters (viewed in mozilla they show up as little hooks). You might download the text files and remove these characters by hand, then indicate the location of the license file with the maven.license.licenseFile property. Otherwise, I don't have a workaround or solution for this problem.

> Invalid form feed NCR (&#12;) generated. 
> -----------------------------------------
>
>          Key: MPLICENSE-2
>          URL: http://jira.codehaus.org/browse/MPLICENSE-2
>      Project: maven-license-plugin
>         Type: Bug
>  Environment: Windows XP, SP2, Maven V 1.02, Jdk 1.4.2_05-b04.
>     Reporter: Achim Westermann

>
> Original Estimate: 1 hour
>         Remaining: 1 hour
>
> The plugin was run against the lgpl: 
>    <licenses>
>     <license>
>      <name>
>        LGPL, version 2.1
>       </name>
>       <url>
>        http://www.opensource.org/licenses/lgpl-license.php
>       </url>
>       <distribution>
>         manual
>       </distribution>
>      </license>
>    </licenses>
> The following url was also tried: 
>        http://www.gnu.org/licenses/lgpl.txt
> In both cases, the information seems to be extracted correctly, 
> but the generated xdoc file: license.xml always ends with: 
> &#12;
> </source></section></body></document>
> This seems to be an NCR to a form feed character, possibly a side effect of some transformation? 
> During the xdoc to html translation (xdoc:jelly-transform) the following error terminates the 
> complete build: 
> "BUILD FAILED
> File...... C:\Dokumente und Einstellungen\westermann\.maven\cache\maven-xdoc-plugin-1.8\plugin.jelly
> Element... x:parse
> Line...... 360
> Column.... 43
> Error on line 460 of document file:/C:/achim/workspace/OpenCms/target/generated-xdocs/license.xml : Character reference "&#c" is an invalid
> XML character. Nested exception: Character reference "&#c" is an invalid XML character.
> Total time: 6 seconds
> Finished at: Tue Apr 05 15:32:19 CEST 2005
> "
> Annotation: "&#c" ?  0xC (Hex) corresponds to 0D 12 (Decimal). 

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPLICENSE-2) Invalid form feed NCR ( ) generated.

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPLICENSE-2?page=all ]
     
Lukas Theussl closed MPLICENSE-2:
---------------------------------

    Resolution: Won't Fix

> Invalid form feed NCR (&#12;) generated. 
> -----------------------------------------
>
>          Key: MPLICENSE-2
>          URL: http://jira.codehaus.org/browse/MPLICENSE-2
>      Project: maven-license-plugin
>         Type: Bug
>  Environment: Windows XP, SP2, Maven V 1.02, Jdk 1.4.2_05-b04.
>     Reporter: Achim Westermann

>
> Original Estimate: 1 hour
>         Remaining: 1 hour
>
> The plugin was run against the lgpl: 
>    <licenses>
>     <license>
>      <name>
>        LGPL, version 2.1
>       </name>
>       <url>
>        http://www.opensource.org/licenses/lgpl-license.php
>       </url>
>       <distribution>
>         manual
>       </distribution>
>      </license>
>    </licenses>
> The following url was also tried: 
>        http://www.gnu.org/licenses/lgpl.txt
> In both cases, the information seems to be extracted correctly, 
> but the generated xdoc file: license.xml always ends with: 
> &#12;
> </source></section></body></document>
> This seems to be an NCR to a form feed character, possibly a side effect of some transformation? 
> During the xdoc to html translation (xdoc:jelly-transform) the following error terminates the 
> complete build: 
> "BUILD FAILED
> File...... C:\Dokumente und Einstellungen\westermann\.maven\cache\maven-xdoc-plugin-1.8\plugin.jelly
> Element... x:parse
> Line...... 360
> Column.... 43
> Error on line 460 of document file:/C:/achim/workspace/OpenCms/target/generated-xdocs/license.xml : Character reference "&#c" is an invalid
> XML character. Nested exception: Character reference "&#c" is an invalid XML character.
> Total time: 6 seconds
> Finished at: Tue Apr 05 15:32:19 CEST 2005
> "
> Annotation: "&#c" ?  0xC (Hex) corresponds to 0D 12 (Decimal). 

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org