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 16563 - I18N - Check DTD doesn`t detect invalid encoding.
Summary: I18N - Check DTD doesn`t detect invalid encoding.
Status: CLOSED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: Tools (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: _ pkuzel
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2001-10-15 10:54 UTC by issues@www
Modified: 2007-09-25 01:33 UTC (History)
0 users

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 issues@www 2001-10-15 10:54:28 UTC
Description: 

[FFJ Build 010628 CE , Red Hat Linux 6.2 with JDK 1.3.0]
                           
Steps to reproduce:
-------------------
1) create DTD document with UTF-8 encoding and save it
2) create copy the document and change its encoding to UTF-16 externaly
3) open the new document in IDE

IDE throws Parser Fatal Exception but Check DTD doesn't detect this error.


Evaluation: 

xxx@xxxx 2001-10-15 Check DTD action may be use parser with different set up.

A comment.
Comment 1 _ pkuzel 2001-11-23 18:10:27 UTC
I have tested it and parser (Xerces 1.3.0) responed with:
"UTF-16 encoding is not supported." Little bit weird response, I would
expect "Invalid encoding" or such.

This issue is parser dependent another plugged-in parser may have
different behaviour.
Comment 2 Martin Schovanek 2002-01-21 20:12:19 UTC
VERIFIED
Comment 3 Jesse Glick 2002-12-23 16:37:25 UTC
Consistent use of the I18N keyword.
Comment 4 Quality Engineering 2003-07-02 08:41:31 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.