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 ji...@apache.org on 2004/04/23 19:52:54 UTC
[jira] Closed: (XERCESJ-901) Setting 'datatype-normalization' true should also set 'validate' true
Message:
The following issue has been closed.
Resolver: Michael Glavassevich
Date: Fri, 23 Apr 2004 10:52 AM
Closed as per state in Bugzilla.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XERCESJ-901
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XERCESJ-901
Summary: Setting 'datatype-normalization' true should also set 'validate' true
Type: Bug
Status: Closed
Resolution: FIXED
Project: Xerces2-J
Components:
DOM
Versions:
2.6.2
Assignee: Michael Glavassevich
Reporter: Naela Nissar
Created: Thu, 26 Feb 2004 4:45 PM
Updated: Fri, 23 Apr 2004 10:52 AM
Environment: Operating System: Other
Platform: Other
Description:
DOM L3 Core spec states that setting 'datatype-normalization' parameter
(DOMConfiguration interface) to true will also set the 'validate' parameter to
true. Currently failing DOMTS L3 core test domconfigdatatypenormalization2.
Proposed patch to DOMConfigurationImpl.setParameter:
Line 522: else if (name.equals(Constants.DOM_DATATYPE_NORMALIZATION)) {
setFeature(NORMALIZE_DATA, state);
features = (short) (state ? features | DTNORMALIZATION :
features & ~DTNORMALIZATION);
+ if (state) {
+ features = (short) (features | VALIDATE);
+ }
}
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org