I'm getting this error when I'm trying to create my own virtual navigation 
using a custom vocubulary: document_typesdoes not have the required schema: 
vocabulary or xvocabulary.

Here's what I have in my directories-contrib:

                <directory name="document_types">
                        <schema>ssl_vocab_doctype</schema>
                        <dataSource>java:/nxsqldirectory</dataSource>
                        <table>documenttypes</table>
                        <idField>ssl_vtype:id</idField>
                        <dataFile>directories/ssl_doctypes.csv</dataFile>
                        
<createTablePolicy>on_missing_columns</createTablePolicy>
                </directory>

Schema:

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";
        targetNamespace="http://ecm.shireburn.com/schemas/vdoctype";
        xmlns:ssl_vtype="http://ecm.shireburn.com/schemas/vdoctype";>

        <xs:element name="id" type="xs:string" />
        <xs:element name="label" type="xs:string" />
        <xs:element name="obsolete" type="xs:integer" default="0" />
        <xs:element name="ordering" type="xs:integer" default="10000000" />

</xs:schema>

CSV File:

ssl_vtype:id, ssl_vtype:label, ssl_vtype:obsolete
"1","General","0"
"2","Accounting","0"
"3","Freight","0"
"4","Correspondence","0"

directorytreemanger-contrib:

<directoryTree name="byDocumentTypeNavigation" label="Browsing by Document 
Type" 
                querymodel="byDocumentTypeNavQueryModel" field="id" 
schema="ssl_vocab_doctype"
                        outcome="doctype_virtual_navigation">
                        <directory>document_types</directory>
                </directoryTree>


Any idea what might be missing here?
--
Posted by "joekiddo" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=4008#12298>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to