[xslt] syntax errors in w3c entity declarations?
- From: Per Jessen <per computer org>
- To: xslt gnome org
- Subject: [xslt] syntax errors in w3c entity declarations?
- Date: Fri, 26 Apr 2013 11:37:49 +0200
I'm using xsltproc and I'm trying to include the w3c standard character
entity sets in a stylesheet:
<!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin
1//EN//HTML" "HTMLlat1.ent">
%HTMLlat1;
...../xsl/myHTMLlat1.ent:12: parser error : Entity value required
<!ENTITY nbsp CDATA " " -- no-break space = non-breaking space,
^
/usr/lib/hostsuisse/xsl/myHTMLlat1.ent:12: parser error : Space required
before 'NDATA'
<!ENTITY nbsp CDATA " " -- no-break space = non-breaking space,
^
/usr/lib/hostsuisse/xsl/myHTMLlat1.ent:12: parser error :
xmlParseEntityDecl: entity nbsp not terminated
<!ENTITY nbsp CDATA " " -- no-break space = non-breaking space,
^
/usr/lib/hostsuisse/xsl/myHTMLlat1.ent:12: parser error : internal error
<!ENTITY nbsp CDATA " " -- no-break space = non-breaking space,
^
/usr/lib/hostsuisse/xsl/myHTMLlat1.ent:12: parser error : DOCTYPE
improperly terminated
<!ENTITY nbsp CDATA " " -- no-break space = non-breaking space,
^
/usr/lib/hostsuisse/xsl/myHTMLlat1.ent:12: parser error : Start tag
expected, '<' not found
<!ENTITY nbsp CDATA " " -- no-break space = non-breaking space,
^
I've tried this with libxslt 1.1.26 and .28
--
Per Jessen, Zürich (19.4°C)
http://www.dns24.ch/ - free DNS hosting, made in Switzerland.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]