Hi,
I think you forgot to contribute to extension point 'schema' of service
TypeService. You should have something like this :
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
<schema name="advertisement" src="schemas/advertisement.xsd"
prefix="adv"/>
</extension>
Vincent Dutat.
[email protected] wrote:
Here are the relevant portions of our schema and core-types-contrib.xml files.
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.removed.com/schemas/advertisement/"
xmlns:ad="http://www.removed.com/schemas/advertisement/">
<!-- properties from advertcardetails -->
<!-- Describes the attributes of a car -->
<xs:element name="make" type="xs:string" />
<xs:element name="makeid" type="xs:string" />
</xs:schema>
<extension target="org.nuxeo.ecm.core.schema.TypeService"
point="doctype">
<doctype name="PrivateAd" extends="Document">
<schema name="common" />
<schema name="dublincore" />
<schema name="uid" />
<schema name="images" />
<schema name="advertisement"/>
<schema name="user"/>
<schema name="contactdetails"/>
<facet name="Commentable" />
<facet name="Indexable" />
<facet name="Folderish" />
</doctype>
</extension>
Anyone with a suggestion?
--
Posted by "mark" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread:
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2417#6761>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
--
Vincent Dutat
for any given software, the moment you manage to master it, a new
version appears.
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm