Apache JDO Project - [jira] Commented: (JDO-478) [Fatal Error] messages are printed to

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > June 2007 > [jira] Commented: (JDO-478) [Fatal Error] messages are printed to





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Commented: (JDO-478) [Fatal Error] messages are printed to
Matthew T. Adams (JIRA)

2007-06-08, 1:11 am


[ https://issues.apache.org/jira/brow...action_12502661 ]

Matthew T. Adams commented on JDO-478:
--------------------------------------

Although this appears to be fixed, the fix is to register an anonymous ErrorHandler class in JDOHelper that throws the SAXExceptions given on error and fatalError, and simply swallows the one given on warning.

We need to consider whether to allow the JDO implementation to register its own ErrorHandler.


> [Fatal Error] messages are printed to stdout/stderr during negative test case runs of JDOHelperConfigTest
> ---------------------------------------------------------------------------------------------------------
>
> Key: JDO-478
> URL: https://issues.apache.org/jira/browse/JDO-478
> Project: JDO
> Issue Type: Bug
> Components: api2
> Environment: JDK 1.4
> Reporter: Matthew T. Adams
> Assignee: Matthew T. Adams
> Priority: Minor
> Fix For: JDO 2 maintenance release 1
>
> Attachments: JDO-478.patch
>
>
> During execution of JDOHelperConfigTest negative test cases, the message "[Fatal Error] :-1:-1: Premature end of file." is printed to stdout or stderr, even though the errors are expected and don't indicate unexpected exceptions.
> Probably need to register an error handler with the XML parser to capture these messages.


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com