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 "Peter McCracken (JIRA)" <xe...@xml.apache.org> on 2006/02/24 21:02:39 UTC
[jira] Created: (XERCESJ-1142) XMLConfigurationExceptions silently
thrown during reset()
XMLConfigurationExceptions silently thrown during reset()
---------------------------------------------------------
Key: XERCESJ-1142
URL: http://issues.apache.org/jira/browse/XERCESJ-1142
Project: Xerces2-J
Type: Bug
Components: JAXP (javax.xml.validation)
Versions: 2.7.1
Reporter: Peter McCracken
Priority: Minor
During calls to reset() in a default JAXP validator, several exceptions are thrown for unrecognized features. These exceptions are silently ignored and fallback values are used.
To avoid throwing unnecessary exceptions, the features should be recognized by the components involved. The fix involves adding the appropriate features to the RECOGNIZED_FEATURES, and in some cases setting a default value.
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Updated: (XERCESJ-1142) XMLConfigurationExceptions silently
thrown during reset()
Posted by "Peter McCracken (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESJ-1142?page=all ]
Peter McCracken updated XERCESJ-1142:
-------------------------------------
Attachment: XMLSchemaLoader-patch.txt
XMLSchemaValidatorComponentManager-patch.txt
XMLSchemaValidator-patch.txt
These patches fix 5 different XMLConfigurationExceptions that are thrown in a normal call to validate() on ValidatorImpl.
XMLSchemaLoader must recognize PARSER_SETTINGS.
XMLSchemaValidator must recognize NORMALIZE_DATE, SCHEMA_AUGMENT_PSVI and SCHEMA_ELEMENT_DEFAULT to avoid exceptions in its reset() method.
XSDHandler throws an XMLConfigurationException for DISALLOW_DOCTYPE, which is not recognized by XMLSchemaValidatorConfigurationManager. Unfortunately, there's no direct connection between XSDHandler and XMLSchemaValidatorConfigurationManager, so DISALLOW_DOCTYPE should be recognized by XMLSchemaValidator.
> XMLConfigurationExceptions silently thrown during reset()
> ---------------------------------------------------------
>
> Key: XERCESJ-1142
> URL: http://issues.apache.org/jira/browse/XERCESJ-1142
> Project: Xerces2-J
> Type: Bug
> Components: JAXP (javax.xml.validation)
> Versions: 2.7.1
> Reporter: Peter McCracken
> Priority: Minor
> Attachments: XMLSchemaLoader-patch.txt, XMLSchemaValidator-patch.txt, XMLSchemaValidatorComponentManager-patch.txt
>
> During calls to reset() in a default JAXP validator, several exceptions are thrown for unrecognized features. These exceptions are silently ignored and fallback values are used.
> To avoid throwing unnecessary exceptions, the features should be recognized by the components involved. The fix involves adding the appropriate features to the RECOGNIZED_FEATURES, and in some cases setting a default value.
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Assigned: (XERCESJ-1142) XMLConfigurationExceptions silently
thrown during reset()
Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESJ-1142?page=all ]
Michael Glavassevich reassigned XERCESJ-1142:
---------------------------------------------
Assign To: Michael Glavassevich
> XMLConfigurationExceptions silently thrown during reset()
> ---------------------------------------------------------
>
> Key: XERCESJ-1142
> URL: http://issues.apache.org/jira/browse/XERCESJ-1142
> Project: Xerces2-J
> Type: Bug
> Components: JAXP (javax.xml.validation)
> Versions: 2.7.1
> Reporter: Peter McCracken
> Assignee: Michael Glavassevich
> Priority: Minor
> Attachments: XMLSchemaLoader-patch.txt, XMLSchemaValidator-patch.txt, XMLSchemaValidatorComponentManager-patch.txt
>
> During calls to reset() in a default JAXP validator, several exceptions are thrown for unrecognized features. These exceptions are silently ignored and fallback values are used.
> To avoid throwing unnecessary exceptions, the features should be recognized by the components involved. The fix involves adding the appropriate features to the RECOGNIZED_FEATURES, and in some cases setting a default value.
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Resolved: (XERCESJ-1142) XMLConfigurationExceptions silently
thrown during reset()
Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESJ-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Glavassevich resolved XERCESJ-1142.
-------------------------------------------
Fix Version/s: 2.10.0
Resolution: Fixed
Fixed in SVN rev 948952.
> XMLConfigurationExceptions silently thrown during reset()
> ---------------------------------------------------------
>
> Key: XERCESJ-1142
> URL: https://issues.apache.org/jira/browse/XERCESJ-1142
> Project: Xerces2-J
> Issue Type: Bug
> Components: JAXP (javax.xml.validation)
> Affects Versions: 2.7.1
> Reporter: Peter McCracken
> Assignee: Michael Glavassevich
> Priority: Minor
> Fix For: 2.10.0
>
> Attachments: XMLSchemaLoader-patch.txt, XMLSchemaValidator-patch.txt, XMLSchemaValidatorComponentManager-patch.txt
>
>
> During calls to reset() in a default JAXP validator, several exceptions are thrown for unrecognized features. These exceptions are silently ignored and fallback values are used.
> To avoid throwing unnecessary exceptions, the features should be recognized by the components involved. The fix involves adding the appropriate features to the RECOGNIZED_FEATURES, and in some cases setting a default value.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org