This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: [docbook] Re: Future DocBook Ruminations - Modular Source Files & XInclude
- From: Daniel Veillard <veillard at redhat dot com>
- To: Norman Walsh <ndw at nwalsh dot com>
- Cc: "Wills, Robert" <Robert dot Wills at sts dot co dot uk>, DocBook List <docbook at lists dot oasis-open dot org>
- Date: Wed, 20 Aug 2003 10:03:09 -0400
- Subject: Re: [docbook] Re: Future DocBook Ruminations - Modular Source Files & XInclude
- References: <B0B3EF6EA2E66F4F80D39E793B4095EC0FE0E9@wm2kswi560.sts.co.uk> <87d6f0zb4r.fsf@nwalsh.com>
- Reply-to: veillard at redhat dot com
On Wed, Aug 20, 2003 at 09:55:48AM -0400, Norman Walsh wrote:
> | !ELEMENT included-section (section | xs:include | included-section)
> | !ELEMENT included-para (para | xs:include | included-para)
>
> I don't think that's necessary to get the "right" behavior. The trick is simply
> to make sure that xi:include elements are expanded before the validator kicks
> in. Then we can simply say:
[...]
> And the validator (DTD, RELAX NG, whatever) will see
[...]
> and be entirely content.
That work if you force to reserialize and reparse from there.
DTD validation from an Infoset ain't defined (not that I suggest this !)
For RNG and whatever :-) it should be fine though.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org