Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000374 [Resin] minor always 08-30-05 00:00 11-30-05 14:42
Reporter user370 View Status public  
Assigned To
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.15 Product Version 3.0.14
  Product Build 3.0.14
Summary 0000374: CDATA character set too small?
Description RSN-418
The caucho XmlParser has this definition of a valid character in a CDATA section:

private boolean isChar(int ch)
  {
    return (ch >= 0x20 && ch <= 0xd7ff ||
        ch == 0x9 ||
        ch == 0xa ||
        ch == 0xd ||
        ch >= 0xe000 && ch <= 0xfff0);
  }


But the XML spec (http://www.w3.org/TR/2000/REC-xml-20001006#NT-Char) [^] says:

Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]

Note that caucho doesn't include FFF1 to FFFD.

Is this a bug?
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0000431)
user383
08-30-05 00:00

I have encountered this as well and I think it's a bug. This isn't much of problem in English, but it is when dealing with multibyte characters in UTF-8.
 
(0000432)
ferg
08-30-05 00:00

xml/0057
 

- Issue History
Date Modified Username Field Change
08-30-05 00:00 user370 New Issue
11-30-05 00:00 administrator Fixed in Version  => 3.0.15
11-30-05 14:42 ferg Status resolved => closed


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
36 total queries executed.
29 unique queries executed.
Powered by Mantis Bugtracker