I have exactly the same problem in oXygen. I'm using the
RelaxNG schema
with XI support. It's annoying, eh? There's not much point
in XIncludes
unless you can put them wherever you want.
The error message in oXygen is misleading; it tells me the
<author>
element is illegal (that's the root tag in my XIncluded
document), but
when I put the same code directly into the info tag it has
no problem
with it. THe problem must be with the XInclude tag itself,
but perhaps
the parser hits the problem but resolves the XInclude before
reporting
the error message.
Cheers,
Martin
Chris Chiasson wrote:
> I wanted to xinclude part of my default author file
into the info
> element of a book and docbook 5 (okay, emacs nxml mode)
said, "Element
> not allowed in this context".
>
> :-[
>
> Is this supposed to happen?
>
> --
> http://chris.chiasson.nam
e/
------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-unsubscribe lists.oasis-open.org
For additional commands, e-mail: docbook-help lists.oasis-open.org
|