This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Problem with entities and JDOM
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Problem with entities and JDOM
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Tue, 24 Jul 2001 15:50:23 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
This looks like an XML problem and not an XSLT or JDOM problem. This
particular well-formedness error is often problematic, I think because some
XML parsers are stricter about enforcing the rule than others.
Post your complete XML document, or try it on some different parsers.
Mike Kay
Software AG
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of
> Miguel Angel
> Medina Lopez
> Sent: 30 June 2001 13:44
> To: XSL List
> Subject: [xsl] Problem with entities and JDOM
>
>
> 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
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list