|
Subject: [xsl] Problem with entities and JDOM From: "Miguel Angel Medina Lopez" <mamedina@xxxxxxxxxxxxxxxxx> Date: Sat, 30 Jun 2001 14:43:45 +0200 |
Hi:
I'm working with JDOM beta7 and use it to transform my XML documents. The
problem is that if I define entities in the XSL document the next exception
is thrown:
org.jdom.JDOMException: XSLT Transformation failed: Parameter
entity references must not appear within markup declarations in the internal
DTD subset.
An I define the entities with the next code:
<!DOCTYPE xsl:stylesheet[
<!ENTITY nbsp " ">
<!ENTITY copy "©">
<!ENTITY aacute "á">
<!ENTITY eacute "é">
<!ENTITY iacute "í">
<!ENTITY oacute "ó">
<!ENTITY aacute "ú">
]>
The error is very strange because if I delete some lines form the XSL
document the entities works fine.
Can somebody help me.
-------------------------------------------------------------
Miguel Ángel Medina López
Logic Factory: www.logic-factory.com
Granada - España
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] tokenize func, shruti | Thread | Re: [xsl] Problem with entities and, David Carlisle |
| [xsl] ext func, shruti | Date | Re: [xsl] Problem with entities and, Miguel Angel Medina |
| Month |