[docbook-apps] hellip; vs xmllint

2010-02-25 Thread Mathieu Malaterre
hi there, 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 test.xml ?xml version='1.0' encoding='UTF-8'? !DOCTYPE

Re: [docbook-apps] hellip; vs xmllint

2010-02-25 Thread Mathieu Malaterre
-source.net/symbols.htm Maybe I´m wrong, I'm still new in docbook-dev :-) Greetings Dominic -Ursprüngliche Nachricht- Von: Mathieu Malaterre [mailto:mathieu.malate...@gmail.com] Gesendet: Donnerstag, 25. Februar 2010 12:32 An: DocBook Apps Betreff: [docbook-apps] hellip; vs xmllint

Re: [docbook-apps] hellip; vs xmllint

2010-02-25 Thread Jirka Kosek
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'

Re: [docbook-apps] hellip; vs xmllint

2010-02-25 Thread Dave Pawson
On 25/02/10 12:04, Jirka Kosek wrote: 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. Obvious... when I'm told! Thanks Jirka. It

Re: [docbook-apps] hellip; vs xmllint

2010-02-25 Thread Jirka Kosek
Dave Pawson wrote: Obvious... when I'm told! Thanks Jirka. It really does make sense to use numerical character entities with v5.0! I would definitively recommend using DocBook V5.0 with XInclude. Some parser can't cache and reuse DTD from individual xincluded files and if XInclude hundreds