Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-565

Enable XSD validation before unmarshalling of xml files into java objects

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2
    • client
    • None

    Description

      In existing code here=> https://github.com/apache/incubator-lens/blob/master/lens-client/src/main/java/org/apache/lens/client/LensMetadataClient.java#L71 , there is no schema set for JAXB_UNMARSHALLER instance. This would mean that no validation would happen when JAXB_UNMARSHALLER instance is used to unmarshall xml files into java objects. This jira ticket is to do XSD validation before unmarshalling of xml files into java objects.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              himanshu.gahlaut Himanshu Gahlaut
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: