-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 1.3.0
-
Component/s: xml
-
b92
-
sparc
-
solaris_8
Parsing an XML doc with DocumentBuilder.parse() and then serializing the
Document with DocumentLS.saveXML() should produce the original document
w/o modification. The original doc specified an encoding as UTF-8, the
serialized doc lost that information.
Diff between the parsed and the serialized docs:
<?xml version="1.1" encoding="UTF-8"?> versus
<?xml version="1.1"?>
###@###.### 11/2/04 21:51 GMT
Document with DocumentLS.saveXML() should produce the original document
w/o modification. The original doc specified an encoding as UTF-8, the
serialized doc lost that information.
Diff between the parsed and the serialized docs:
<?xml version="1.1" encoding="UTF-8"?> versus
<?xml version="1.1"?>
###@###.### 11/2/04 21:51 GMT