Jul 19, 2020 at 09:33 PM
Your schema definition says version 1.1, but the syntax looks like version 3.0, specifically the non-escaped namespaces.
Reply to this Comment
Jul 19, 2020 at 09:36 PM
Pretty sure xPDO 3 does not introduce a new _schema_ version ;) That's either 1.0 (for xPDO < 2.2) or 1.1 last I checked.
But yes, as mentioned various times throughout the article, the examples are indeed for xPDO 3 and you will indeed need to take out namespaces to use it on xPDO 2.
Jul 19, 2020 at 09:42 PM
There are 3.0 examples in the repo, e.g., https://github.com/modxcms/xpdo/blob/3.x/test/model/schema/xPDO.Test.Sample.STI.mysql.schema.xml
Jul 19, 2020 at 09:49 PM
I stand corrected! Will need to look at what effect that has compared to the 1.1 syntax. Can definitely confirm xPDO 3 and namespaces work fine with the 1.1 schema ;)