You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/01/30 14:59:39 UTC
DO NOT REPLY [Bug 16594] New: -
DOM3: normalizeDocument with 'datatype normalization' problem
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16594>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16594
DOM3: normalizeDocument with 'datatype normalization' problem
Summary: DOM3: normalizeDocument with 'datatype normalization'
problem
Product: Xerces2-J
Version: 2.3.0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: DOM
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: carla@x-hive.com
When normalizing a document with datatype normalization, the resulting document
contains only a document element. All the child nodes of the document element
are removed.
Reproduce the problem by running sample DOM3.java with document 'personal-
schema.xml' and set the document configuration parameter 'datatype-
normalization' to true:
// set error handler on the Document
config = doc.getConfig();
config.setParameter("error-handler", errorHandler);
config.setParameter("datatype-normalization", Boolean.TRUE);
.....
System.out.println("Normalizing document... ");
doc.normalizeDocument();
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org