[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (TOSCA-285) Import grammar is incorrect
[ https://issues.oasis-open.org/browse/TOSCA-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63780#comment-63780 ] Luc Boutier commented on TOSCA-285: ----------------------------------- Hi Chris, I guess the import 'name' could be the namespace prefix. We don't have namespace example and I even don't use them right now but as there definition for them I guess we should be able to define a prefix.. What do you think ? Luc > Import grammar is incorrect > --------------------------- > > Key: TOSCA-285 > URL: https://issues.oasis-open.org/browse/TOSCA-285 > Project: OASIS Topology and Orchestration Specification for Cloud Applications (TOSCA) TC > Issue Type: Bug > Components: Profile-YAML, Spec - Simple Profile > Reporter: Chris Lauwers > Assignee: Matthew Rutkowski > > I finally got around to implementing the extended "imports" grammar and noticed issues with both the single-line and the multi-line grammar for imports. Imports grammar is as follows: > 3.5.7.2.1 Single-line grammar: > <import_name>: <file_URI> > 3.5.7.2.2 Multi-line grammar > <import_name>: > file: <file_URI> > repository: <repository_name> > namespace_uri: <definition_namespace_uri> > namespace_prefix: <definition_namespace_prefix> > In both cases, the grammar specifies that imports have an "import_name". However, none of the YAML templates in the spec ever use such an import_name, and in any event, since there really isn't a use for such a name enforcing it would result in an unnecessary burden. -- This message was sent by Atlassian JIRA (v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]