This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 26510 - I18N - text/xml MIME is not valid for 16bit encoded documents
Summary: I18N - text/xml MIME is not valid for 16bit encoded documents
Status: RESOLVED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@xml
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2002-08-14 16:12 UTC by _ pkuzel
Modified: 2007-09-25 01:31 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ pkuzel 2002-08-14 16:12:38 UTC
The top-level media type "text" has some 
restrictions on MIME entities and they are 
described in [RFC2045] and [RFC2046].  In 
particular, the UTF-16 family, UCS-4, and  
UTF-32 are not allowed (except over 
HTTP[RFC2616], which uses a MIME-like 
mechanism).  Thus, if an XML document or 
external parsed entity is encoded in such 
character encoding schemes, it cannot be 
labeled as text/xml or 
text/xml-external-parsed-entity (except for  
HTTP).
Comment 1 _ pkuzel 2002-08-14 16:17:19 UTC
CCing  core developers as they also play with 
MIME resolvers.. 
Comment 2 Jesse Glick 2002-12-23 16:36:07 UTC
Consistent use of the I18N keyword.
Comment 3 capSS 2003-04-15 13:44:22 UTC
    Please check Chapter 3 of RFC2046 named Overview Of The 
Initial
Top-Level Media Types. Here is th text:
>     (1)   text -- textual information.  The subtype 
"plain" in
>           particular indicates plain text containing no
>           formatting commands or directives of any sort. 
Plain
>           text is intended to be displayed "as-is". No 
special
>           software is required to get the full meaning of 
the
>           text, aside from support for the indicated 
character
>           set. Other subtypes are to be used for enriched 
text in
>           forms where application software may enhance 
the
>           appearance of the text, but such software must 
not be
>           required in order to get the general idea of 
the
>           content.  Possible subtypes of "text" thus 
include any
>           word processor format that can be read without
>           resorting to software that understands the 
format.  In
>           particular, formats that employ embeddded 
binary
>           formatting information are not considered 
directly
>           readable. A very simple and portable subtype,
>           "richtext", was defined in RFC 1341, with a 
further
>           revision in RFC 1896 under the name "enriched".
    So if we have text in UTF-16 or any other encoding and 
we have
software which can show text in UTF-16 encoding we do not 
break any
RFC limitation.
    The same idea you can find in Chapter 4.1 of RFC2046.
Comment 4 capSS 2003-04-15 13:45:50 UTC
CCing to ffjspb@netbeans.org