Re: Relax NG plugins

"Jan Tosovsky" <[email protected]> Fri, 16 Jun 2017 21:33:35 +0200
Newsgroups gmane.comp.java.netbeans.devel
Message-ID <[email protected]>
On 2017-06-15 Ross Lamont wrote:
>=20
> As regards Relax NG validation, it looks like my plans will have to
> change significantly.  There are 2 problems:
>  - Relax NG instance documents do not have any means of identifying =
the
> schema, in the way that XML Schema or DTD do.  The solution to this is
> to use xml-model processing instruction and a few other ideas I have.

While xml-model is non-normative 'Working Group Note' =
(https://www.w3.org/TR/xml-model/), it is IMHO better than proprietary =
ways used by some XML editors, e.g.

<?oxygen =
RNGSchema=3D"http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng"=
 type=3D"xml"?>

> This leads us to the next problem:
>  - Validation in Netbeans is very out of date.  There is no support =
for
> xml-model and in fact it is pretty hard wired to only do basic
> validation via the SAX validation flags (not using more up to date
> setSchema etc).  So there=E2=80=99ll be a bit of work to get that =
going.

Thanks for sharing!

> 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

I will :-)=20

I've already noticed some related traffic in =
https://lists.apache.org/[email protected]

I really appreciate your effort in this field.

Thanks for that,

Jan