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

Schema file

ElectricMaxxx opened this issue · 4 comments

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

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

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.

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.

So we should close this one?