You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Axel Kollmorgen <ax...@kollmorgen.net> on 2005/02/22 02:30:47 UTC

[BOOK PATCH] invalid XML in book.xml

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

Re: [BOOK PATCH] invalid XML in book.xml

Posted by Max Bowsher <ma...@ukf.net>.
Axel Kollmorgen wrote:
> 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.

Thanks, fixed in r13104, but I chose to use two consecutive <subtitle> 
elements, to preserve the split of the text across multiple lines.

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org