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 139755

Summary: Possibly bogus XML schemas
Product: ruby Reporter: Jesse Glick <jglick>
Component: ProjectAssignee: issues@ruby <issues>
Status: NEW ---    
Severity: blocker CC: tor
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 42686    
Attachments: first part

Description Jesse Glick 2008-07-11 17:39:57 UTC

are given the namespace "{,-private}/1", inconsistent with the declaration in
RailsProjectType. You need to fix your XML schemas to match what your project actually stores in project.xml (and
private.xml). Then you need to register those schemas in ProjectXMLCatalog in your layer, as described in issue #42686.



are just the schemas copied from project.ant. Perhaps these can be deleted? project.ant will as of issue #42686 perform
validation against schemas found in ProjectXMLCatalog; if you have your own project.ant replacement you may need to
duplicate this logic (in which case you probably do want to keep these copies somewhere so they will be available in
Ruby IDE).

There are also


which you may consider registering in the same way.
Comment 1 Martin Krauskopf 2008-07-11 19:37:30 UTC
I'll fix the first part (attaching patch, will commit another day, have to leave today).

As I understand rake.project is copy-pasted ant.project with s/rake/ant. Likely we do not need a lot of code from
ant.project. Similarly for j2se vs ruby project. I do not know all the details of ant.project so I'm little reluctant to
start some large clean-up for 6.5.

The P2 (that is, the important part) is the first part, right?

One more question, how to propagate rails-project.xsd to as it is the
case for ruby-project.xsd ( Does this work somehow automagically? Tor how
did you get there ruby-project/1.xsd? Thanks.
Comment 2 Martin Krauskopf 2008-07-11 19:38:05 UTC
Created attachment 64353 [details]
first part
Comment 3 Jesse Glick 2008-07-11 23:05:20 UTC
Yeah, I think it's the bad namespace which would be P2.

You can publish schemas by committing to www/www/ns (in CVS still).
Comment 4 Martin Krauskopf 2008-07-12 14:24:31 UTC
First part: #e0a5ba02ddc7
Comment 5 Quality Engineering 2008-07-17 04:53:10 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #324 build
User: Martin Krauskopf <>
Log: #139755: Possibly bogus XML schemas (first part)