symfony-cmf / sonata-phpcr-admin-integration-bundle

Symfony CMF sonata PHPCR admin implementations
https://cmf.symfony.com
5 stars 20 forks source link

Schema file #26

Closed ElectricMaxxx closed 7 years ago

ElectricMaxxx commented 7 years ago

Just a reminder. When we have a clear configuration, we have to put it into the bundles schema file.

wouterj commented 7 years ago

👎 As the factories can be added dynamically, we have to allow any element and any attribute in the bundles.

ElectricMaxxx commented 7 years ago

Can one schema file include others? I mean the factories can link their own schema for their section. And we would dynamically include it in the main file.

wouterj commented 7 years ago

No, it can't. We can of course add all CMF bundles in the schema file, but this means we'll get false positives (e.g. a <content/> node is only available if the CmfContentBundle is registered, the XSD will act like it always exists).

I think we sadly can't do anything more here.

ElectricMaxxx commented 7 years ago

So we should close this one?