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.
Product Version: NetBeans IDE Dev (Build 200709200000) Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) I checked a lot of different Relax NG files provided by various related sites including files specified as part of test specification for Relax NG and none of them were accepted by NetBeans. All files caused error message: Error compiling schema. First of all this issue is question: does Relax NG support really work or no. If no then someone should care about if no then would somebody provide "correct" Relax NG file to create binding based on? BTW same for Relax NG compact...
JAXB RI site[1] says support for DTD, Relax NG, Relax NG Compact as experimental and not supported. I tried couple of Relax NG schema thru JAXB commandline command 'XJC' was unable to compile, got the same error as thru Wizard. Hence the issue is not with NB tooling. Please re-open if a particular schema is compilable thru commandline but Wizard is unable to compile. [1] https://jaxb.dev.java.net/nonav/2.1.4/docs/xjc.html
Girish, You can't mark this issue as "INVALID". If the "RelexNG" schema is listed in the Schema Type list, we should support. Otherwise, remove it from the list. Myabe you should file an issue against JAXB.
I am not sure how one can file bug against feature or function claimed as "experimental and not supported" [1][2]. Other option I have is to remove these options from the tooling or put warning message. Removing these options, will also block if somebody wants try when incrementally some features are added by JAXB RI. [1] https://jaxb.dev.java.net/nonav/2.1.4/docs/xjc.html [2] http://www.nabble.com/Support-for-Relax-NG-in-JAXB-2.x-tf3124579.html#a8656826
I'm not sure how one can refer to external links while NB itself says nothing about "experimental" or "do not use our feature, these options provided just for decoration".
https://jaxb.dev.java.net is official JAXB Reference implementation site. Official support mailing list of JAXB RI are archived at nabble.com currently. Kohsuke Kawaguchi is the lead of the RI and also editor of the JAXB Spec. I referred to his answer in the second URL.
Nice to know lead of project knows about problems. I'm talking about NetBeans' users -- is there any information or link on NetBeans' site about problems? NetBeans is a platform not one more standalone IDE so it should be all-sufficient. If there is problems then we should note about not somebody who knows.
Added warning message when "Experimental, not supported" schema type is selected. Please use build #3628 or later.
Created attachment 50451 [details] SourcePathImplAddonsTestCDL.diff
Please ignore previous patch! meant for different issue.
Fix Verified, warning message added. Product Version: NetBeans IDE Dev (Build 200808010201) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119 System: Mac OS X version 10.5.4 running on i386; MacRoman; en_US (nb)