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.
ruby.railsprojects/src/org/netbeans/modules/ruby/railsprojects/resources/rails-project-private.xsd ruby.railsprojects/src/org/netbeans/modules/ruby/railsprojects/resources/rails-project.xsd are given the namespace "http://www.netbeans.org/ns/ruby-project{,-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. Also ruby.rakeproject/src/org/netbeans/modules/ruby/modules/project/rake/project-private.xsd ruby.rakeproject/src/org/netbeans/modules/ruby/modules/project/rake/project.xsd 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 ruby.project/src/org/netbeans/modules/ruby/rubyproject/resources/ruby-project-private.xsd ruby.project/src/org/netbeans/modules/ruby/rubyproject/resources/ruby-project.xsd ruby.rakeproject/src/org/netbeans/modules/ruby/modules/project/rake/rake-project-references.xsd ruby.rakeproject/src/org/netbeans/modules/ruby/modules/project/rake/rake-project-references2.xsd which you may consider registering in the same way.
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 http://www.netbeans.org/ns/rails-project/1.xsd as it is the case for ruby-project.xsd (http://www.netbeans.org/ns/ruby-project/1.xsd). Does this work somehow automagically? Tor how did you get there ruby-project/1.xsd? Thanks.
Created attachment 64353 [details] first part
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).
First part: #e0a5ba02ddc7
Integrated into 'main-golden', available in NB_Trunk_Production #324 build Changeset: http://hg.netbeans.org/main/rev/e0a5ba02ddc7 User: Martin Krauskopf <mkrauskopf@netbeans.org> Log: #139755: Possibly bogus XML schemas (first part)