> On 17 Jun 2017, at 5:33 am, Jan Tosovsky <[email protected]> wrote: > > On 2017-06-15 Ross Lamont wrote: >> >> 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.
True, but it is also a confirmed ISO standard (ISO/IEC 19757-11:2011). I must admit I am mystified as to how ISO and W3 work together and what it means when one makes it a standard and the other doesn’t. > > <?oxygen > RNGSchema="http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng" > type="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’ll 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… > > I will :-) > > 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 >
