Re: Relax NG plugins
Emilian Bold <[email protected]> Thu, 15 Jun 2017 08:27:13 +0300
| Newsgroups | gmane.comp.java.netbeans.devel |
|---|---|
| Message-ID | <CAL6R17De30EmSZWM95kkBtMZ+NTPGJya=ghmVQEiMSSOjQtgPQ@mail.gmail.com> |
> I will likely start a new nbdev thread about updating general validation = support in Netbeans in the next few days. Keep an eye out for it=E2=80=A6 Please start using [email protected] , the code is being donated to Apache any day now. --emi On Thu, Jun 15, 2017 at 8:24 AM, Ross Lamont <[email protected]> wr= ote: > Hi Jan, > > As regards Relax NG validation, it looks like my plans will have to chang= e significantly. There are 2 problems: > - Relax NG instance documents do not have any means of identifying the s= chema, in the way that XML Schema or DTD do. The solution to this is to us= e xml-model processing instruction and a few other ideas I have. This lead= s us to the next problem: > - Validation in Netbeans is very out of date. There is no support for x= ml-model and in fact it is pretty hard wired to only do basic validation vi= a the SAX validation flags (not using more up to date setSchema etc). So t= here=E2=80=99ll be a bit of work to get that going. > > I will likely start a new nbdev thread about updating general validation = support in Netbeans in the next few days. Keep an eye out for it=E2=80=A6 > > Cheers > Ross > >> On 10 May 2017, at 7:35 am, Jan Tosovsky <[email protected]> wrote: >> >> On 2016-11-29 Ross Lamont wrote: >>> >>> I am thinking of writing a bunch of Relax NG plugins, principally to >>> support validation, but also probably some editor support as well. The >>> only existing plugin is the old one from NB 6.9, but I can=E2=80=99t fi= nd the >>> codebase for that one. >>> >> >> I am also interested in RNG validation. Have you made any progress? >> >> That old plugin seems to use JING validator internally. >> >> To my surprise that validator is nowadays already shipped with Netbeans.= Can anybody clarify what this dependency is used for? (located in NetBeans= 8.2\ide\modules\ext\jing.jar ) >> >> I hope NB uses some kind of pluggable validation API which could be some= how extended via appropriate configuration. Now when jing.jar is already on= classpath, I believe required changes won't be as complex as expected init= ially. >> >> Jan >> >> PS: I am willing to help with this project. >> > >