You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Raghavendra Singh (JIRA)" <ji...@apache.org> on 2015/06/02 12:26:17 UTC

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

     [ https://issues.apache.org/jira/browse/LENS-565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raghavendra Singh resolved LENS-565.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2

> Enable 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
>             Fix For: 2.2
>
>
> 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)