This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Re: Concrete proposal for #480954: Extend textobject toinsert external files


At 12:54 PM -0500 11/12/01, Norman Walsh wrote:


>In fact, the only reasons I want to pursue this at all, instead of
>simply saying "use XInclude" are that (1) XInclude is not a REC,

Which do you think is more likely to be done first? XInclude or 
Docbook 5? My current understanding is that XInclude is moving 
forward.

>(2)
>whether you do validation before or after XInclude is unclear

Not really once you realize that validation is defined against XML 
1.0, and XML 1.0 doesn't know squat about XInclude. Pass a document 
containing xinclude:include elements to a validating parser, and the 
parser should treat them like any other elements. HOwever, if you 
want to validate post-inclusion you can do that too. Run an XInclude 
processor across a document to produce a new infoset, serialize that 
onto a document or stream, and then pass that into a validating 
parser. You can do either or both as you choose. For Docbook I 
generally do the latter.

>  (3)
>XInclude will force us to add namespace support for a feature that
>really should be part of the core DTD (as opposed to a module like
>MathML).
>

It only really requires us to declare the XInclude namespace. It does 
not require use to define a DocBook namespace.
-- 

+-----------------------+------------------------+-------------------+
| 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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]