This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

xmllint and &


Title: Personal Stationery
I'm getting the following error when parsing my documentation with xmllint:
 
D:\>xmllint --loaddtd --noout file:///epicclass/drivers/ansyshelp.xml Entity: line 1: error: xmlParseEntityRef: no name
&
^
file:///epicuser/books/entities/capabilitiestable.xml:82: error: Entity value required
<row><entry colname="col1">Distributed Resistances &amp; Sources</entry><entry
                                                        ^
file:///epicuser/books/entities/capabilitiestable.xml:171: error: chunk is not well balanced
I'm using "xmllint: using libxml version 20430" on Windows.
 
When I edit my local copy of the DocBook DTD and remove the following line from the iso-num.ent file, everything works:
<!ENTITY amp "&#x0026;"> <!-- AMPERSAND -->
 
Any comments or suggestions on how to fix this without messing with the DTD?  I have, by the way, verified that xmllint is reading the other character entities just fine.  It seems only to be a problem with the &amp; entity.
 
Jeff Beal
Tools Specialist
ANSYS, Inc.
(724) 514-3150
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]