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 143244 - cannot open AppClient project
Summary: cannot open AppClient project
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: App Client (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
: 142742 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-07 23:13 UTC by David Konecny
Modified: 2008-10-14 13:16 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
full exception (4.67 KB, text/plain)
2008-08-07 23:13 UTC, David Konecny
Details
patch fixing the problem (1.53 KB, text/plain)
2008-08-07 23:20 UTC, David Konecny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Konecny 2008-08-07 23:13:07 UTC
AppClient project created in NB6.1 with some items in compilation classpath cannot be opened in NB6.5:

Caused: org.xml.sax.SAXParseException: cvc-type.3.1.1: Element 'included-library' is a simple type, so it cannot have
attributes, excepting those whose namespace name is identical to 'http://www.w3.org/2001/XMLSchema-instance' and whose
[local name] is one of 'type', 'nil', 'schemaLocation' or 'noNamespaceSchemaLocation'. However, the attribute, 'files'
was found.
Comment 1 David Konecny 2008-08-07 23:13:38 UTC
Created attachment 66869 [details]
full exception
Comment 2 Vince Kraemer 2008-08-07 23:19:28 UTC
*** Issue 142742 has been marked as a duplicate of this issue. ***
Comment 3 David Konecny 2008-08-07 23:19:29 UTC
The problem is schema was never correct in first place. I'm adding two missing attributes to schema. These attributes
are obsolete since NB6.5 but still needed for successful opening of old projects.
Comment 4 David Konecny 2008-08-07 23:20:30 UTC
Created attachment 66871 [details]
patch fixing the problem
Comment 5 Petr Blaha 2008-08-08 11:08:13 UTC
The fix verified in the continual build. Please, push the fix in beta clone. Thanks
Comment 6 David Konecny 2008-08-08 11:18:45 UTC
Thanks for testing it.

Fixed in trunk: f62ad9ba898c
Fixed in 6.5 beta branch: 1bed9187b6f8
Comment 7 Quality Engineering 2008-08-08 15:47:26 UTC
Integrated into 'main-golden', available in build *200808081401* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/f62ad9ba898c
User: David Konecny <dkonecny@netbeans.org>
Log: #143244 - cannot open AppClient project due to XML validation error
Comment 8 Martin Fousek 2008-10-14 13:16:32 UTC
Verified in NetBeans IDE Dev (Build 200810140201).