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]
Other format: [Raw text]

Re: [docbook] Re: Future DocBook Ruminations - Modular Source Files & XInclude


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


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