Mariusz Idzikowski wrote:
>  
> Today I received an XML document (created in XXE) containing unusual 
> invisible control characters. I noticed that they appeared in places 
> where some punctuation characters should appear, notably the so-called 
> printer's quotation marks. It took me some time to discover that the 
> reason for this was a possible bug in XXE.
>  
> Instead of the invisible control characters normally found in the 
> Unicode range U+007F to U+009F, the character tool shows characters from 
> the corresponding cp1251 charset. So for example, the U+0094 
> slot features the right double quotation mark (which correctly 
> belongs in the General Punctuation block as 0x201D), instead of the 
> invisible Cancel control character (U+0094). When you insert such bogus 
> characters using the character tool, they look OK in the XXE editing 
> window, but if you open the same document in another application (e.g. a 
> text editor), they are either invisible or don't show correctly.
>  
> I don't know if this happens on other platforms as well (I use 3.7.1 on 
> Win XP).
>  

I'm afraid there is nothing we can do to fix this problem.

[1] What you see in the character tool in the U+007F to U+009F range is 
platform dependent (attached screen shot was taken on Linux) and is 
under the control of the Java runtime and not of the application (XXE).

On Windows XP, displaying U+0094 as the right double quotation mark is 
of course incorrect. Therefore, this is a Java bug.

[2] The character inserted by XXE in the XML document is really U+0094 
and that's what really counts.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9F.png
Type: image/png
Size: 14505 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20080123/480dcdb2/attachment.png
 

Reply via email to