Community
Participate
Working Groups
Build Identifier: M20100211-1343 Install Eclipse without BIRT. Read and write to an XML file consisting of the following... <?xml version="1.0" encoding="ISO-8859-1"?> <ncc:library xmlns:ncc="http://www.redseal.net/SCHEMAS/ncc/V1" name="ModelIssue" prefix="MI" version="2010031501"> </ncc:library> Eclipse works fine. Install BIRT-enabled Eclipse, attempt to open the same XML file. BIRT throws a null pointer exception... org.eclipse.birt.report.model.parser.ModuleParserHandler.endDocument(ModuleParserHandler.javae: 287) If I remove the "ncc:" namespace designation from the <library> element so that the XML looks like this... <?xml version="1.0" encoding="ISO-8859-1"?> <library xmlns:ncc="http://www.redseal.net/SCHEMAS/ncc/V1" name="ModelIssue" prefix="MI" version="2010031501"> </library> ...BIRT/Eclipse displays a warning that "the report file of version 2010031501 does not exist" then opens the file anyway. This occurs regardless of which perspective I'm using (Report Design, or Java), and it continues to happen after I uninstall the BIRT package. It also happens in Helios and Indigo versions of Eclipse. Bottom line---I am unable to use Eclipse to edit my XML after installing BIRT. I need to keep two versions of Eclipse---one for BIRT report work and one that has never been tainted by BIRT for editing XML. Reproducible: Always Steps to Reproduce: 1.Install BIRT. 2.Open the XML file. 3.
Mark as fixed. See commit 5ebab97f34384b4fa68e24e9a33e939f9dd7f597
Opening XML file with "ncc" namespace in "Report Design" perspective does not see the error. Verified in BIRT 4.4.1 build v20140916-1320.