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.
In XMI documents, the XML encoding attribute doesn't get set right for systems whose native encoding isn't Latin1. Also, the line separator is hard-coded to "\r\n", which isn't necessarily good when encoding to EBCDIC. The attached patch makes sure to use a declaration consistent with the actual encoding being used, and uses the system's native line separator.
Created attachment 22911 [details] Patch to org.netbeans.lib.jmi.xmi.DefaultWriter
Integrated. Checking in jmiutils/src/org/netbeans/lib/jmi/xmi/DefaultWriter.java; /cvs/mdr/jmiutils/src/org/netbeans/lib/jmi/xmi/DefaultWriter.java,v <-- DefaultWriter.java new revision: 1.2; previous revision: 1.1 done