Summary: | Setting ErrorHandlers for XML parsing | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Darin Swanson <Darin_Swanson> |
Component: | Debug | Assignee: | Darin Swanson <Darin_Swanson> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P2 | ||
Version: | 3.0 | ||
Target Milestone: | 3.1 M5 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Darin Swanson
2004-09-07 14:51:35 EDT
I found references to DocumentBuilder in the following plugins: org.apache.ant org.eclipse.ant.tests.ui org.eclipse.ant.ui org.eclipse.core.variables org.eclipse.debug.core org.eclipse.debug.ui org.eclipse.jdt.debug.tests org.eclipse.jdt.launching Personally, I don't think we should do anything about this. If the IBM VM wants to write all parse errors to System.err, that seems like the VM's prerogative. Why should we go to the effort of preventing the VM from writing the errors if that's what they want to do? My point it is not an error the user is interested in. They have no interest and no way to turn it off and really no way to fix the problem. As well a log of "Fatal Error" does sound pretty harsh. The precendance has been set in other components as well that this behavior is not acceptable: see bug 18350 We also have bug 68103 as a friend of this one. Added a DefaultHandler everywhere we call DocumentBuilder.parse(...). The library behavior here is totally wrong, but since it's already been shipped we need to handle it. Changes to: org.eclipse.ant.ui: TaskDescriptionProvider.java org.eclipse.core.variables: StringVariableManager.java org.eclipse.debug.core: DebugPlugin.java LaunchConfiguration.java LaunchManager.java org.eclipse.debug.ui: LaunchConfigurationManager.java PerspectiveManager.java WorkingSetSourceContainerType.java org.eclipse.jdt.launching: LaunchingPlugin.java VMDefinitionsContainer.java ArchiveSourceLocation.java DirectorySourceLocation.java JavaProjectSourceLocation.java JavaSourceLocator.java PackageFragmentRootSourceLocation.java Please verify, DarinS. Verified |