What I do is a bit of a pain, but it works
I just reset the schema location to point at what ever *.rnc file I need
to validate the document against. The pain is that you must do it for
each document you open at least once.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 10, 2007 9:11 AM
> To: docbook-apps@lists.oasis-open.org
> Subject: [docbook-apps] Re: how to upgrade docbook-xml
> properly w.r.t. nxml-mode ->
> /usr/share/emacs/site-lisp/nxml-mode/schema/*.rnc
>
> > "JMT" == jmt <[EMAIL PROTECTED]> writes:
>
> JMT> Hi, list !
>
> JMT> I use emacs + nxml mode in Debian ; this package
> still uses the Docbook
> JMT> schema from V4.2, so I replaced to the original
> schema by the schema for
> JMT> V5.0RC3.
>
> My nxml-mode installation keeps emacs mode and specifically
> docbook related files (*.rnc -> "RELAG NG compact syntax") here:
>
> /usr/share/emacs/site-lisp/nxml-mode/schema/
>
> So you are telling us, you took files from
> /usr/share/xml/docbook/schema/rng/5.0CR3/
> and made them available to emacs nxml-mode, are you?
>
> JMT> Works like a charm,
>
> Does that mean "regarding to editing in nxml-mode" or
> "regarding to creating HTML or PDF"?
>
> Do you really make use of new features in nxml-mode, i.e.
> features of 5.0, that were not already available in 4.2?
>
> JMT> except that introducing a xml:id for "person" unvalidates the
> JMT> document.
>
> I guess every new feature will unvalidate the document, as
> long as the new and right *.rnc files are not properly made
> available to nxml-mode.
>
> And how that is carried out -- maybe there is somebody else
> to tell us how to do that, I mean to give us a recipe of "how
> to upgrade docbook-xml properly w.r.t. nxml-mode ->
> /usr/share/emacs/site-lisp/nxml-mode/schema/*.rnc".
>
> Actually I would like to see,
> that the *.rnc files in
> /usr/share/emacs/site-lisp/nxml-mode/schema/ get removed and
> nxml-mode gets set up to make use of the *.rnc files in
> /usr/share/xml/docbook/schema/rng/5.0CR3/ or whatever new or
> old version one wants to make use of.
>
> Obviously your paths may vary,
> mine are from a mixture of SUSE 10.1 through 10.3alpha...
> and I actually assume, they are file system standard
> compliant, but who knows ...
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]