You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Marcus Rueckert <da...@web.de> on 2005/04/07 16:10:15 UTC
validation of the www/*html
hi,
i just ran xmllint on the www dir and i get a lot of errors.
it seems the dtd itself is invalid.
log is attached.
darix
--
irssi - the client of the smart and beautiful people
http://www.irssi.de/
Re: validation of the www/*html
Posted by Max Bowsher <ma...@ukf.net>.
Marcus Rueckert wrote:
>> hi,
>>
>> i just ran xmllint on the www dir and i get a lot of errors.
>> it seems the dtd itself is invalid.
>>
>> log is attached.
I'm working on this.
Max.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: validation of the www/*html
Posted by Marcus Rueckert <da...@web.de>.
hi,
max just as a reminder my other patches.
the remaining open files are not meant to be valid xml/xhtml on
their own.
[[[
xmllint -noout -valid *html 2>&1 | grep -A1 "\.html:"
NavColumn-ProjectToolsOverride.html:5: validity error : Validation failed: no DTD found !
<div><a href="/project_packages.html">Downloads</a></div>
--
NavColumn-ProjectToolsOverride.html:7: parser error : Extra content at the end of the document <div><a href="/faq.html">FAQ</a></div>
--
project_footer.html:2: parser error : Start tag expected, '<' not found
--
project_header.html:2: parser error : Start tag expected, '<' not found
--
project_tools.html:5: validity error : Validation failed: no DTD found !
<div><a href="/project_packages.html">Downloads</a></div>
--
project_tools.html:7: parser error : Extra content at the end of the
document
<div><a href="/faq.html">FAQ</a></div>
]]]
darix
--
irssi - the client of the smart and beautiful people
http://www.irssi.de/
Re: validation of the www/*html
Posted by Max Bowsher <ma...@ukf.net>.
Marcus Rueckert wrote:
>> hi,
>>
>> i just ran xmllint on the www dir and i get a lot of errors.
I've been working through removing errors from most of our documents.
>> it seems the dtd itself is invalid.
The problem is that the DTD uses a SGML extension which was removed from
XML:
In the line "<!ELEMENT a %a.content; +(br)>", remove the characters "+(br)"
to make the DTD a valid XML DTD, at the cost of slightly tightening the
allowed document structure.
Perhaps one of the collab.net Subversion developers would know/could find
out where this issue should be reported?
In the mean time, the validate.sh that I have committed uses onsgmls, which
is a SGML parser anyway, so this isn't a problem.
Max.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org