This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 74546 - <makenbm> silently produces invalid XML when non-Unicode control chars present in license text
Summary: <makenbm> silently produces invalid XML when non-Unicode control chars presen...
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
: 72269 77303 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-06 22:34 UTC by Rich Unger
Modified: 2009-03-19 00:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rich Unger 2006-04-06 22:34:49 UTC
I'm trying to add the lgpl license in the proper place in a JDIC module.  I'm
getting the license from http://www.gnu.org/copyleft/lesser.txt.

I point to this file in the Build/Packaging project customizer UI.  Then I
create an NBM.  When I attempt to install the NBM, I get "NBM file
org-jdesktop-jdic.nbm contains bad info."  When I remove the license, it works fine.
Comment 1 Jesse Glick 2006-04-06 22:51:37 UTC
You have to remove the Ctrl-L characters as they are not permitted in XML.
Comment 2 Jesse Glick 2006-04-06 22:52:22 UTC
Better summary.
Comment 3 Jesse Glick 2006-04-07 01:23:52 UTC
Fixed with some other patches:

committed   * Up-To-Date  1.69       
nbbuild/antsrc/org/netbeans/nbbuild/MakeNBM.java
committed   * Up-To-Date  1.27       
nbbuild/antsrc/org/netbeans/nbbuild/MakeUpdateDesc.java
committed   * Up-To-Date  1.19       
nbbuild/antsrc/org/netbeans/nbbuild/XMLUtil.java
Comment 4 Jesse Glick 2006-06-02 14:52:51 UTC
*** Issue 77303 has been marked as a duplicate of this issue. ***
Comment 5 Jesse Glick 2009-03-19 00:19:57 UTC
*** Issue 72269 has been marked as a duplicate of this issue. ***