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 20:03:53 UTC
[jira] Closed: (XERCESJ-917) Add recognition of 'split-cdata-sections' parameter in LSParser.domConfig
Message:
The following issue has been closed.
Resolver: Michael Glavassevich
Date: Fri, 23 Apr 2004 11:03 AM
Closed as per state in Bugzilla.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XERCESJ-917
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XERCESJ-917
Summary: Add recognition of 'split-cdata-sections' parameter in LSParser.domConfig
Type: Bug
Status: Closed
Resolution: FIXED
Project: Xerces2-J
Components:
DOM
Versions:
2.6.2
Assignee: Michael Glavassevich
Reporter: Naela Nissar
Created: Tue, 16 Mar 2004 4:37 PM
Updated: Fri, 23 Apr 2004 11:03 AM
Environment: Operating System: Other
Platform: Other
Description:
LS spec states that the parameters defined in L3 Core DOMConfiguration
interface are also to be recognized by DOMConfiguration objects for LSParser.
Currently, a FEATURE_NOT_FOUND exception for 'split-cdata-sections'. DOM LS
test case expects support for 'split-cdata-sections' using canSet, set and
getParameter methods. No additions need to be made to setParameter or
canSetParameter.
Proposed patch in DOMParserImpl:
--- C:\xml-xerces\java\src\org\apache\xerces\parsers\DOMParserImpl.java 2004-03-
16 11:22:52.00 -0500 1.18
+++ C:\xerces-temp\DOMParserImpl.java 2004-03-16 11:26:26.00 -0500
@@ -160,6 +160,7 @@
Constants.DOM_CHARSET_OVERRIDES_XML_ENCODING,
Constants.DOM_INFOSET,
Constants.DOM_NAMESPACE_DECLARATIONS,
+ Constants.DOM_SPLIT_CDATA,
Constants.DOM_SUPPORTED_MEDIATYPES_ONLY,
Constants.DOM_CERTIFIED,
Constants.DOM_WELLFORMED,
@@ -194,6 +195,7 @@
// set other default values
fConfiguration.setFeature (Constants.DOM_CANONICAL_FORM, false);
fConfiguration.setFeature (Constants.DOM_CHARSET_OVERRIDES_XML_ENCODING
, true);
+ fConfiguration.setFeature (Constants.DOM_SPLIT_CDATA, true);
fConfiguration.setFeature (Constants.DOM_SUPPORTED_MEDIATYPES_ONLY, fal
se);
fConfiguration.setFeature (Constants.DOM_IGNORE_UNKNOWN_CHARACTER_DENOR
MALIZATIONS, true);
@@ -617,6 +619,7 @@
|| name.equalsIgnoreCase (Constants.DOM_IGNORE_UNKNOWN_CHARACTER_DENORM
ALIZATIONS)
|| name.equalsIgnoreCase (Constants.DOM_CANONICAL_FORM)
|| name.equalsIgnoreCase (Constants.DOM_SUPPORTED_MEDIATYPES_ONLY)
+ || name.equalsIgnoreCase (Constants.DOM_SPLIT_CDATA)
|| name.equalsIgnoreCase (Constants.DOM_CHARSET_OVERRIDES_XML_ENCODING)
) {
return (fConfiguration.getFeature (name))
? Boolean.TRUE
---------------------------------------------------------------------
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