Subject: Re: [xsl] Recursive entity reference "%ISOamsa" error From: "Mark Peters" <flickrmeister@xxxxxxxxx> Date: Fri, 14 Jul 2006 14:41:09 -0400 |
Thanks for the feedback, Wendell. I'm working with DocBook XML output from Adobe FrameMaker. When the default DOCTYPE declaration didn't work, I tried the standard DocBook PUBLIC declaration. That didn't work either (same error), so I manually translated all of my entity references, one by one, applying the stylesheet after translating each entity. Currently, my XML file contains no entities -- no declarations, no entities in the document content. But I'm still encountering the "Recursive entity reference "%ISOamsa" error.
I tried removing the DOCTYPE declaration from my XML document, with the same result. So now I'm baffled. If my XSLT processor is complaining because it can't parse my document with its entity references -- but there *are* not entity references -- then something else must be going on.
Mark,
Does your XML document contain a DOCTYPE declaration with a SYSTEM or PUBLIC identifier?
This would refer to an external DTD subset, and your problem could be there.
It's certainly a problem in the declarations in some DTD somewhere.
Often these public entity sets include comments explaining how to invoke them. It could be that in the ISOamsa file being called in, the commenting markup has gotten lost somewhere, which would result in the entity trying to invoke itself.
Strictly speaking, this is a parsing problem not an XSLT problem. No XML parser should work on a file with declarations like that.
Cheers, Wendell
Mark Peters Senior Technical Writer Saba Software
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Recursive entity referenc, Wendell Piez | Thread | Re: [xsl] Recursive entity referenc, Mark Peters |
Re: [xsl] A beef with XSLT Sometime, Karl Stubsjoen | Date | Re: [xsl] A beef with XSLT Sometime, Wendell Piez |
Month |