You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ariatosca.apache.org by "Tal Liron (JIRA)" <ji...@apache.org> on 2017/05/08 21:49:04 UTC

[jira] [Created] (ARIA-231) Parser does not validation error if the same section appears twice

Tal Liron created ARIA-231:
------------------------------

             Summary: Parser does not validation error if the same section appears twice
                 Key: ARIA-231
                 URL: https://issues.apache.org/jira/browse/ARIA-231
             Project: AriaTosca
          Issue Type: Task
            Reporter: Tal Liron


Investigate what happens when a YAML section appears twice, e.g.:
{code}
node_templates:
  my_template:
    requirements:
      ...
    requirements:
      ...
{code}
One would imagine that it's illegal YAML for a dict key to appear twice, and that the YAML parser should fail. If it's indeed a YAML parser bug, it might difficult to detect...



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)