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:25:17 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14568903#comment-14568903 ]
Raghavendra Singh commented on LENS-565:
----------------------------------------
Committed as part of LENS-484. Thanks [~yash360@gmail.com]
> 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
>
> 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)