DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=27716>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27716 Add recognition of 'split-cdata-sections' parameter in LSParser.domConfig Summary: Add recognition of 'split-cdata-sections' parameter in LSParser.domConfig Product: Xerces2-J Version: 2.6.2 Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: Other Component: DOM AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]