Re: [docbook-apps] Validity Warnings

From
Rean Vheller
Date
2004-12-31T09:52:45+00:00
ID
Thread
Re: [docbook-apps] Validity Warnings
On Friday 31 December 2004 11:09, Bob Stayton wrote:
> And what happens when you remove the 'local.common.attrib' declaration from
> xinclude.mod?  Since 4.3 already has xml:base in %common.attrib;, adding it
> into the local.common.attrib creates duplicate declarations on almost all
> elements.

xmllint --noout --xinclude --postvalid usersguide.xml

usersguide.xml:14: element part: validity error : No declaration for attribute 
xmlns:xi of element part
usersguide.xml:14: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:14: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:14: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:14: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
Document usersguide.xml does not validate

So I add xmlns:xi="http://www.w3.org/2001/XInclude" to book, part, chapter in 
each document.

Then again,

xmllint --noout --xinclude --postvalid usersguide.xml

usersguide.xml:9: element part: validity error : No declaration for attribute 
xmlns:xi of element part
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element part: validity error : No declaration for attribute 
xmlns:xi of element part
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:14: element part: validity error : No declaration for attribute 
xmlns:xi of element part
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:14: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:14: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:14: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:14: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element part: validity error : No declaration for attribute 
xmlns:xi of element part
usersguide.xml:14: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element part: validity error : No declaration for attribute 
xmlns:xi of element part
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element part: validity error : No declaration for attribute 
xmlns:xi of element part
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element part: validity error : No declaration for attribute 
xmlns:xi of element part
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
usersguide.xml:9: element chapter: validity error : No declaration for 
attribute xmlns:xi of element chapter
Document usersguide.xml does not validate

-- 
Sean Wheller

http://www.enbaya.co.za