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 15747 - Changes of the encoding aren`t propagated from text to XML document prope
Summary: Changes of the encoding aren`t propagated from text to XML document prope
Status: RESOLVED INVALID
Alias: None
Product: xml
Classification: Unclassified
Component: Tree-Edit (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
: 17048 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-09-21 10:13 UTC by issues@www
Modified: 2007-09-25 06:06 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proposed patch (1009 bytes, patch)
2003-03-18 14:02 UTC, genero
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description issues@www 2001-09-21 10:13:37 UTC
Description: 

[FFJ Build 010514_3 CE , Red Hat Linux 6.2 with JDK 1.3.0]

Step to reproduce:
------------------
1) open XML document in TXT Editor
2) open Properties Window on the XML document node
3) change the document's encoding in TXT Editor
4) save it

The change doesn't propagate to encoding property in Properties Window.


Suggested Fix: 
Fixed during fixing other fixes

Evaluation: 

xxx@xxxx 2001-05-18

Looks like missing listener or missing event fire.

A comment.
Comment 1 Jan Chalupa 2001-11-27 17:38:47 UTC
Target milestone -> 3.3.1.
Comment 2 Jan Chalupa 2001-11-27 17:42:14 UTC
Target milestone -> 3.3.1.
Comment 3 _ lkramolis 2001-11-29 09:17:04 UTC
*** Issue 17048 has been marked as a duplicate of this issue. ***
Comment 4 _ lkramolis 2002-01-10 13:23:25 UTC
This could be similar problem as described in #17049. Is not it
problem of Property Window (wrong listening)?
Comment 5 hiroshiy 2002-02-20 08:23:05 UTC
This issue is similar as #17049.
I've verified the fixing in "FFJ, EE 4.0 EA (Build 020219)"


*** This issue has been marked as a duplicate of 17049 ***
Comment 6 Martin Schovanek 2002-09-18 14:38:21 UTC
Reproducible at Nb Build 200209180100, jdk1.4.1-b21

Change of encoding or standalone attribute doesn't appear at
Properties Window.
Comment 7 hiroshiy 2002-10-25 11:23:18 UTC
Hello Martin,

Please open "node" of the XML file
from Explorer Window.
You will find property values of
XML file, after few seconds.

I think that ...

  - This issue is no longer reappeared
      in current version.
      And, this issue should be closed.
  - But, current spec about XML file
      and property is certainly unkind.
      This should be filed as another issue,
      and is not "I18N" problem.

If I misunderstanding your report,
Please tell me the correct way.

Thank you - Hiroshi
Comment 8 Jesse Glick 2002-12-23 16:36:36 UTC
Consistent use of the I18N keyword.
Comment 9 Martin Schovanek 2003-02-12 13:57:51 UTC
Hiroshi is right, it is not I18N issue.
Reproducible at NB Build 200302120100.
Comment 10 genero 2003-03-18 14:02:19 UTC
Created attachment 9441 [details]
Proposed patch
Comment 11 genero 2003-03-18 14:06:57 UTC
This bug is also reproducible on Windows2000. Node of XML 
document receives property change event, but XML tab doesn't 
update property values in the XML property sheet. 

I have fixed this problem explicitly updating sheet when 
node receives notification about encoding, standalone or 
version property change. See attach 9441 for details.
Comment 12 _ pkuzel 2003-03-18 14:29:48 UTC
The patch looks perfect to me. 
Applied.

Thank you
Comment 13 dmladek 2004-08-20 17:25:48 UTC
Current DEV (4.0) build #20040820-1320

I can't see any Encoding Property of XML file in Properties Window.
Regression/As dessigned? 
Comment 14 Jiri Kovalsky 2005-02-14 12:14:07 UTC
The encoding property of XML data nodes was removed which made this
issue invalid in NetBeans 4.0 and later.