Re: Parsing errors on unknown entities (unicode characters)
David Carlisle wrote: > The xsl below will extract an XML compatible entity file (or files) from > unicode.xml, just edit it to get the sets you want, as posted it just The xsl worked very nicely for me with xt, but I had to modify unicode.xml to take care of two '& 's. Here's the error-producing portion of unicode.xml: <character id='U0009' dec='9' mode='text' type='other'> <latex>& </latex> <entity id='Tab' set='mmlextra'> <desc>tabulator stop; horizontal tabulation</desc> </entity> <description>control HORIZONTAL TABULATION</description> </character> <character id='U000A' dec='10' mode='text' type='other'> <latex>& </latex> <entity id='NewLine' set='mmlextra'> <desc>force a line break; line feed</desc> </entity> <description>control LINE FEED</description> </character> xt reported: 'file:/home/mlaing/xsl/unicode.xml:45: character not allowed' nsgmls reported: 'unicode.xml:45:12:W: reference not terminated by refc delimiter' Replacing '& ' with '&' eliminated the error. ml XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format