Skip to content

cnd parser error with a valid cnd. #90

Open
@dbu

Description

@dbu

from https://github.com/symfony-cmf/MediaBundle/pull/63/files it seems this cnd works:

<cmf = 'http://cmf.symfony.com/phpcr/1.0'>
[cmf:mediaNode] > nt:hierarchyNode, cmf:media

[cmf:media] mixin
   - description (string)
   - copyright (string)
   - authorName (string)
   - metadata (string)
   - metadataKeys (string)

[cmf:image] > cmf:media mixin
   - width (long) mandatory
   - height (long) mandatory

while this one does not

<cmf = 'http://cmf.symfony.com/phpcr/1.0'>

[cmf:media] mixin
   - description (string)
   - copyright (string)
   - authorName (string)
   - metadata (string)
   - metadataKeys (string)

[cmf:image] > cmf:media mixin
   - width (long) mandatory
   - height (long) mandatory

[cmf:mediaNode] > nt:hierarchyNode, cmf:media

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions