"Eric J. Schwarzenbach" <[EMAIL PROTECTED]> wrote on 
11/13/2006 05:25:11 PM:

> Right, I'm using the built-in identity-tranformation support...I'm
> pretty much just performing SAX serialization as recommended in the
> Xerces FAQ
> 
> http://xerces.apache.org/xerces2-j/faq-general.html#faq-6
> 
> I realized an easy answer to my third question which is to invert the
> use of quotes to
> 
>   <!ENTITY wan-gw
>      "<systemitem class='systemname'>wan-gw</systemitem>"              >
> 
> Which is okay to hack my way forward for the moment, but not a solution
> for handling xml out of my control.
> 
> Now I get errors like
> 
>     White space is required after "<!ENTITY" in the entity declaration.
> 
> Because the external DTD has
> 
>     <!ENTITY % dbnotn SYSTEM
> "http://www.oasis-open.org/docbook/xml/configerror.txt";>
> 
> and the serialization turns it into:
> 
>     <!ENTITY %dbnotn PUBLIC "-//OASIS//ENTITIES DocBook Notations
> V4.2//EN" >
> 
> I don't know if this could be one of the bugs you're alluding to, or if
> my ignorance of the fine points of entities is leading me to 
misunderstand.
> 
> I'm going to see if I have any better luck with the gnu XmlWriter class.

You may want to follow-up on one of the Xalan mailing lists.

I believe Xalan 2.7.1 is planned for the end of the month. If something is 
awry there may still be a bit of time for the developers to get a fix into 
the release.

> Eric

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to