Hi,

At present we are using declarations that reference the XSD, such as:

<book xml:id="some-guide"
      xmlns="http://docbook.org/ns/docbook"; version="5.0" xml:lang="en"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
      xsi:schemaLocation="http://docbook.org/ns/docbook
                          http://docbook.org/xml/5.0/xsd/docbook.xsd";
      xmlns:xinclude="http://www.w3.org/2001/XInclude";>
...
</book>

It looks like the XMLSchema-related attributes are unnecessary. In other
words, if I remove cached schemas from my editor (using IntelliJ IDEA),
edit the book and open it again, this appears to work fine as well for
validation and tag completion and so forth:

<book xml:id="some-guide"
      xmlns="http://docbook.org/ns/docbook"; version="5.0" xml:lang="en"
      xmlns:xinclude="http://www.w3.org/2001/XInclude";>
...
</book>

How does an editor know how to resolve that to
http://docbook.org/xml/5.0/rng/docbook.rng?

We also use a tool for validation and link checking that currently uses the
XSD, though it can no doubt be changed to use the RNG.

Regards,
Mark

On Tue, Oct 18, 2016 at 11:04 PM, Steve Ball <steve.b...@explain.com.au>
wrote:

> Hi Bob,
>
> I manage a large schema that uses DocBook 5. The normative schema is
> RelaxNG. This schema is automatically translated to XSD using Trang, but
> the resulting XSD files have to be post-processed in order to fix them
> before they are useable by consumers.
>
> DocBook 6 in pure RelaxNG+Schematron would be fine with me.
>
> Cheers,
> Steve Ball
>
> > On 19 Oct 2016, at 5:51 AM, Bob Stayton <b...@sagehill.net> wrote:
> >
> > The DocBook Technical Committee is considering dropping the XML Schema
> version of DocBook in a future version 6.  We would like to hear from any
> members of the DocBook community who would be affected by this change.
> >
> > Let me be clear that this change is not on the horizon, but part of our
> long term planning.  The DocBook TC takes great care in maintaining
> backwards compatibility on point releases because we know how much the
> DocBook community relies on stable sources.  When DocBook rolls to a new
> major version number, we treat that as an opportunity to introduce changes
> that are not backwards compatible.  The change from 4 to 5 was such.  If we
> foresee such changes coming, we give the DocBook community very advanced
> notice to prepare for them.
> >
> > We will continue to maintain the DocBook standard in RelaxNG with
> Schematron rules, and will continue to generate a compatible DTD.
> >
> > However, the process of maintaining the XSD version of DocBook is
> proving burdensome because it cannot be completely generated by a
> conversion program, and requires manual tweaking.  Because we are not sure
> if anyone is actually using the XSD version, we are wondering if this is
> worth the effort.  If you are using it, or have tools that depend on XSD,
> please let us know.
> >
> > You can reply directly to me if you don't want to discuss it on the
> mailing list.
> >
> > --
> > Bob Stayton
> > Sagehill Enterprises
> > b...@sagehill.net
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org
> > For additional commands, e-mail: docbook-h...@lists.oasis-open.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org
>
>

Reply via email to