On Wed, 2004-03-10 at 23:02 +0100, Steinar Bang wrote: > >>>>> Bob Hilliard <hilliard@debian.org>: > > > These are the only instances of <book> and </book> in the file. > > I assume "Premature end of data in tag book" means it can't find a > > closing tag, but there seems to be a proper closing tag. Is this an > > error in the .xml file or a bug in some of the tools? > > Without looking at the file myself, this is just guessing, but from > the error message it looks like a problem with a processing > instruction somewhere between <book> and </book>. > > Line 168 just contains <book>, I see. Is there a processing > instruction immediately following it? Does the string "<?if" (without > the quotes) occur anywhere in the document? Indeed it does. Here are all the processing instructions that "grep -- line-number '<?' jargon.xml" found: 1:<?xml version="1.0" encoding="ISO-8859-1"?> 172:<?if condition="book"> 223:<?fi> 225:<?if condition='web'> 306:<?fi> 310:<?if condition="book"> 900:<?fi> 1248:<?if history='full'> 1250:<?else> 1252:<?fi> 1343:<?if history='full'> 1379:<?fi> 1395:<?if history='full'> 1419:<?fi> 1447:<?if history='full'> 1484:<?fi> 1498:<?if history='full'> 1511:<?fi> 1645:<?if history='full'> 1669:<?fi> 1695:<?if history='full'> 1755:<?fi> 1769:<?if history='full'> 1805:<?fi> 1820:<?if history='full'> 1856:<?fi> 3450:<?if condition='web'> 3453:<?fi> 26339:<?fi> 78320:<?if condition='book'> 78342:<?fi>
Attachment:
signature.asc
Description: This is a digitally signed message part