[
https://issues.apache.org/jira/browse/ARIA-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16091646#comment-16091646
]
DeWayne Filppi commented on ARIA-322:
-------------------------------------
Maybe it's just usage confusion. In aria.core._parse_service_template:
if context.validation.dump_issues():
raise exceptions.ParsingError('Failed to parse service template')
This causes an exception to be raised, and the context (with the errors) to
never be returned to the caller.
> Parsing validation errors for library users
> -------------------------------------------
>
> Key: ARIA-322
> URL: https://issues.apache.org/jira/browse/ARIA-322
> Project: AriaTosca
> Issue Type: Story
> Affects Versions: 0.1.0
> Reporter: DeWayne Filppi
> Priority: Minor
> Labels: parser
>
> The correct service template validation function only throws an exception to
> the caller in the case of a validation error. The actual errors would be
> nice to have too. So either a custom field in the validation exception, or
> don't throw an exception and just return results.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)