[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[BOOK PATCH] invalid XML in book.xml

From: Axel Kollmorgen <axel_at_kollmorgen.net>
Date: 2005-02-22 03:30:47 CET

validating book.xml against dblite.dtd (ie. opening it in XMLSpy) yields

   This file is not valid: The parent element's content element
disallows element 'para'.

on "<subtitle><para>".

there are 88 dblite elements that are allowed inside <subtitle> (among
them the inline elements from [1]), just not <para>. as none of those 88
tags immediately catched my eye for being a meaningful replacement for
<para>, i think the easiest fix is to just remove it.

patch attached.

[1] http://svn.red-bean.com/viewcvs/book/readme-dblite.html?rev=14#section-7

-- 
ax
What has to be accepted - the given - is forms of life. Wittgenstein

Index: book.xml
===================================================================
--- book.xml (revision 13102)
+++ book.xml (working copy)
@@ -28,9 +28,7 @@
 
   <!-- Using revnumber would be more appropriate, but our stylesheets -->
   <!-- don't seem to render it. -->
- <subtitle><para>For Subversion 1.1</para>
- <para>(book compiled from &svn.version;)</para>
- </subtitle>
+ <subtitle>For Subversion 1.1 (book compiled from &svn.version;)</subtitle>
 
   <bookinfo>
 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 22 03:44:54 2005

This is an archived mail posted to the Subversion Dev mailing list.