Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cnd parser error with a valid cnd. #90

Open
dbu opened this issue Oct 9, 2013 · 0 comments
Open

cnd parser error with a valid cnd. #90

dbu opened this issue Oct 9, 2013 · 0 comments

Comments

@dbu
Copy link
Member

dbu commented Oct 9, 2013

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant