Mathieu Malaterre wrote: > I have written a couple of Makefile rules to check my docbook XML is > valid. for this task I used xmllint. It used to work pretty nicely up > to now. Could someone please let me know what is the issue with the > following: > > $ cat section.xml > <?xml version='1.0' encoding='UTF-8'?> > <section> > <title/> > <para>& is ok</para> > <para>… is not ok</para> > </section>
Your section.xml file is missing !DOCTYPE which references DocBook DTD with entity definitions. Please note that with XInclude included files are parsed separately and then composed together -- you can't use entities defined in the "main" file as it is possible when using external entities for composition. -- ------------------------------------------------------------------ Jirka Kosek e-mail: [email protected] http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------
signature.asc
Description: OpenPGP digital signature
