jaxb
  1. jaxb
  2. JAXB-655

Default ValidationEventHandler fails to terminate on Error

    Details

    • Type: Task Task
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.11
    • Fix Version/s: not determined
    • Component/s: runtime
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      655

      Description

      According to the following Javadoc when the default ValidationEventHandler is in
      use unmarshalling should terminate on the first Error or fatal error.

      http://java.sun.com/javaee/5/docs/api/javax/xml/bind/Unmarshaller.html#setEventHandler%28javax.xml.bind.ValidationEventHandler%29

      The current default only terminates unmarshalling on a fatal error.

        Activity

        Hide
        darran_lofthouse added a comment -

        Created an attachment (id=312)
        Proposed patch

        Show
        darran_lofthouse added a comment - Created an attachment (id=312) Proposed patch

          People

          • Assignee:
            jaxb-issues
            Reporter:
            darran_lofthouse
          • Votes:
            3 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: