开发者

How can I prevent saxon from escaping systemId in Results produced by xsl:result-document

开发者 https://www.devze.com 2023-04-11 09:15 出处:网络
I am prod开发者_开发问答ucing a document using <xsl:result-document href=\"{$uri}\"> ... where $uri contains some non-ASCII characters.I\'ve registered an OutputURIResolver, and when it receives

I am prod开发者_开发问答ucing a document using <xsl:result-document href="{$uri}"> ... where $uri contains some non-ASCII characters. I've registered an OutputURIResolver, and when it receives the href in its resolve(href, base) method, the href has been uri-escaped. Can I prevent that somehow?


No, I don't think you can prevent this. I'm not sure exactly why it's being done, but the interface for OutputURIResolver does say that the arguments are URIs, and you can't have unescaped non-ASCII characters in a URI.

0

精彩评论

暂无评论...
验证码 换一张
取 消