Question

I am trying to use entypo as the source for the icons in my webapp. This webapp I am developing using ZK as the UI technology.

The problem is, when I try to use an icon from that font using:

<span sclass="entypoWhite">&#128100;</span>

I get the following error: '' (0xd83d) is not a valid XML character

Am I doing anything wrong?

PS. I am using ZK version 5

Was it helpful?

Solution

Actually its a bug from ZK itself.

They have there own DOM verifier and from &#100000 it goes wrong. That's why also the &#9666; do work.

Following me the error is here :

http://grepcode.com/file/repo1.maven.org/maven2/org.zkoss.common/zcommon/6.5.1/org/zkoss/idom/Verifier.java#Verifier.isXMLCharacter%28char%29

At the method at line 227.
I'll post a bug report for it : http://tracker.zkoss.org/browse/ZK-2261

OTHER TIPS

You are probably experiencing network problems involving the parent proxy, and the body of the HTTP response contains a human-readable description of the problem in HTML format. Your service client is trying to parse this text as XML and therefore your error.

Remove the hexa decimal value of ' from the encoded string.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top