You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Himanshu Gahlaut (JIRA)" <ji...@apache.org> on 2015/05/18 22:51:02 UTC

[jira] [Created] (LENS-565) Enabled XSD validation before unmarshalling of xml files into java objects

Himanshu Gahlaut created LENS-565:
-------------------------------------

             Summary: Enabled XSD validation before unmarshalling of xml files into java objects
                 Key: LENS-565
                 URL: https://issues.apache.org/jira/browse/LENS-565
             Project: Apache Lens
          Issue Type: Improvement
            Reporter: Himanshu Gahlaut


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)