trans-coord-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: home.shtml: Make checks whether the HTML is decently generated.


From: Yavor Doganov
Subject: Re: home.shtml: Make checks whether the HTML is decently generated.
Date: Wed, 06 Feb 2008 00:09:13 +0200
User-agent: Wanderlust/2.15.1 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (Sanjō) APEL/10.6 Emacs/22.1 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI) (gNewSense GNU/Linux)

The errors messages that xmllint spits are not very helpful.  It took
me some time to figure out what's wrong with philosophy.bg.html:

-:434: parser error : Opening and ending tag mismatch: li line 246 and ul
</ul>
     ^
-:1098: parser error : Opening and ending tag mismatch: li line 903 and ul
</ul>
     ^
-:1128: parser error : Opening and ending tag mismatch: ul line 697 and div
</div>
      ^
-:1258: parser error : Opening and ending tag mismatch: ul line 229 and div
</div>
      ^
-:1259: parser error : Opening and ending tag mismatch: div line 80 and body
</body>
       ^
-:1260: parser error : Opening and ending tag mismatch: div line 30 and html
</html>
       ^
-:1261: parser error : Premature end of data in tag body line 25

^
-:1261: parser error : Premature end of data in tag html line 3

^

It is clear what's wrong, but it is NOT clear where the bug is, since
the line numbers do not match (and of course I tried to determine this
by the .po file, which will be the case when GNUN will fail at build
time and the .bg.html is not committed).
Is there a chance to improve the situation?  I always hated those
devilish XML/XSLT thingies.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]