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: [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
sean@enbaya.co.za
http://www.enbaya.co.za


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