This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Re: Concrete proposal for #480954: Extend textobject toinsert external files
At 8:58 AM -0500 11/13/01, Norman Walsh wrote:
>But, using XInclude would raise at least the following issues:
>
>1. Can we limit it to parse=text. I don't think so. If we refer
> normatively to XInclude, we have to accept XInclude semantics.
>
Fine with me. :-)
>2. Where would we allow xinclude elements? For the task at hand, we'd
> probably only want to allow them in a very small number of places,
> but as soon as we include it, no pun intended, people will want
> parse=xml and can I put it anywhere, please?
>
Ummm, I'm already doing that. It works just fine without changing
Docbook at all.
>6. If we allow it anywhere, what do we say or do about validation
> when parse=xml?
We could easily write the DTDs to require the parse attribute of
xinclude:include to have the value text. If people want to use
parse="xml", then more power to them. They just have to resolve
everything before validating against the standard DTDs. (This is, in
fact, what I'm already doing.)
>And I wonder if it isn't reasonable to do both, to provide the textobject
>extensions now and XInclude support as well. Either now or later.
>
I suppose that's possible. I just prefer not to reinvent the wheel.
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| The XML Bible, 2nd Edition (Hungry Minds, 2001) |
| http://www.ibiblio.org/xml/books/bible2/ |
| http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/ |
+----------------------------------+---------------------------------+
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>