Re: isolated high surrogate

Glenn Adams <[email protected]>
Newsgroups gmane.text.xml.fop.user
Message-ID <CACQ=j+dtfyhb5zdypVTnH47SL=UgnX7pFxhmdUoP+PC81vbxHA@mail.gmail.com>
Non-BMP characters are not presently supported by FOP, see [1]. When they
are supported, you would best encode them in a file using a single (not
two) numeric character entities, e.g., &#x010001;, etc.

[1] https://issues.apache.org/jira/browse/FOP-1969

On Thu, Jul 14, 2016 at 12:51 PM, Marc Kaufman <[email protected]> wrote:

> I’m stumped by this error:
>
> org.xml.sax.SAXParseException; lineNumber: 92; columnNumber: 51;
> java.lang.IllegalArgumentException: isolated high surrogate
>
>
>
> I have text with surrogate pairs throughout the file, but this only occurs
> in this context:
>
>     <fo:block padding-top="2em" padding-bottom=".5em" text-align="left"
> font-family="Kozuka Gothic PR6N" font-size="18pt" color="black">
>
>       *<**xsl:call-template **name*=*"zero_width_space_1"**>*
>
>         *<**xsl:with-param **name*=*"data" **select*=*"@documentName"**/>*
>
>       *</**xsl:call-template**>*
>
>     </fo:block>
>
>
>
> I’ve checked the input stream, and all the surrogates are correctly
> paired. I’ve tried escaping the surrogate pairs (e.g. “&#-integer-;”), but
> that doesn’t change the error.
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.