> Thanks you, anyone know if there are any workaround to encode backspace #x8
>
> Or any version of xml parser can parse the backspace #x8?
XML 1.1 allows an 'escaped' version of the backspace character, so you
could try and change the version number:
Note: this will only work for XML 1.1 parse
PM
To: Chris Lai /EEL/IT
Cc: dom4j-user@lists.sourceforge.net
Subject: Re: [dom4j-user] problem on parsing backspace character
The #x8 (backspace) character is illegal in XML 1.0, all characters
from #x1 to #x1F are illegal in XML 1.0 (even escaped) except for #x9
(tab), #xA (line feed) #xD
The #x8 (backspace) character is illegal in XML 1.0, all characters
from #x1 to #x1F are illegal in XML 1.0 (even escaped) except for #x9
(tab), #xA (line feed) #xD (carriage return).
Regards,
Edwin
--
http://www.edankert.com/
-
e xml with
>
> Regards,
>
> Chris Lai
>
> 29597369
> GET 6303
>
>
> -----Original Message-
> From: Richard Eckart [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 10, 2007 4:29 PM
> To: Chris Lai /EEL/IT
> Cc: dom4j-user@lists.sourceforge.net
> S
-
From: Richard Eckart [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 10, 2007 4:29 PM
To: Chris Lai /EEL/IT
Cc: dom4j-user@lists.sourceforge.net
Subject: Re: [dom4j-user] problem on parsing backspace character
Hi Chris,
It's due to the XML specifications. The backspace character
Hi Chris,
It's due to the XML specifications. The backspace character is not a
valid XML character. If you want to have it in your documents, you
need to escape it. It seems there is a bug that causes it to fail to
escape the backspace char when a XML document is serialized to
String. What
hi,
I am having a problem on parsing xml with backspace (0x0008) char.
(The tab char (0x0009) is fine)
It turns out that dom4j cannot parse a xml with backspace char even the xml
is generated by the dom4j itself.
To demo the problem, here is the code section:
import org.dom4j.Document;
import