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


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: XInclude doesn't validate with xmllint


On Wed, Oct 02, 2002 at 09:49:09PM -0700, Bob Stayton wrote:
> I started to extend the DocBook DTD to permit xi:include,
> but I think it is kind of impossible (except for maybe
> Norm 8^).  The xi:include element can replace *any*
> element or group of elements, so the content models of
> every element would get hopelessly complex.

  The more I think about it, the more I'm convinced that
in general, validation should occur after XInclude processing.
The only painful point are the xml:base attributes left on the
included elements when the resources included are not in the
same directory as the including resource.
  But allowing an extra attribute everywhere is quite simpler
than allowing an extra element everywhere :-)

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/


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