aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "metatech (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (ARIES-1395) Add a structure-only option to Blueprint xml-validation feature
Date Fri, 06 Jan 2017 09:39:59 GMT

    [ https://issues.apache.org/jira/browse/ARIES-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15804120#comment-15804120
] 

metatech edited comment on ARIES-1395 at 1/6/17 9:39 AM:
---------------------------------------------------------

FYI : when the Blueprint XML validation is added in the pom.xml, JBoss Developer Studio fails
to undeploy the bundle properly :
{{code}}
            <Bundle-SymbolicName>${project.artifactId};blueprint.aries.xml-validation:=false</Bundle-SymbolicName>
{{code}}
Is there another way ?



was (Author: metatech):
FYI : when the Blueprint XML validation is added in the pom.xml, JBoss Developer Studio fails
to undeploy the bundle properly :
            <Bundle-SymbolicName>${project.artifactId};blueprint.aries.xml-validation:=false</Bundle-SymbolicName>
Is there another way ?


> Add a structure-only option to Blueprint xml-validation feature
> ---------------------------------------------------------------
>
>                 Key: ARIES-1395
>                 URL: https://issues.apache.org/jira/browse/ARIES-1395
>             Project: Aries
>          Issue Type: Improvement
>          Components: Blueprint
>    Affects Versions: blueprint-core-1.4.4
>            Reporter: Akitoshi Yoshida
>         Attachments: 0001-ARIES-1395-Add-a-structure-only-option-to-Blueprint-.patch
>
>
> Currently, xml-validation is performed on blueprint beans files by default. One can disable
validation by setting blueprint.aries.xml-validation to false. The available option is either
full-validation or no-validation. In some use-cases, it is practical to disable datatype validation
and keep structure validation.
> This is a request to add such an option by passing an appropriate ErrorHandler to the
Validator instance so that datatype specific validation errors can be ignored.



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

Mime
View raw message