I'm trying to add some fields to dublincore.xsd but without success.
I created two files and copied them under nxserver/config folder
The files contain:
dublincore.xsd
<xs:schema
targetNamespace="http://www.nuxeo.org/ecm/schemas/dublincore/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:nxs="http://www.nuxeo.org/ecm/schemas/dublincore/">
<xs:element name="note" type="xs:string" default="TEST"/>
<xs:element name="noteExtended" type="xs:string" default="TEST"/>
</xs:schema>
and extension point extend-dublincore-config.xml
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.CoreExtensions.override">
<require>org.nuxeo.ecm.core.schema.TypeService</require>
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
<schema name="dublincore" src="schemas/dublincore.xsd" />
</extension>
</component>
What's wrong?
The fields in a REST AP are not visible