From: Konstantinos S. <kst...@ek...> - 2007-06-28 10:36:06
|
Dear all, My name is Kostas Stamatis and I am trying to evaluate Fez+Fedora and other digital repositories. I working with FEZ now and I have encounter a problem! I want to ingest in Fez objects that are describes with a new XSD schema. I have followed all the procedures, I have created all the XSD displays but at the end I cannot see elements of this schema when viewing an object. Moreover, I can see in Fedora that all the datastreams (along with mine) are stored fine. The "Show in View Details" is checked. I guess that it is a namespace problem. Here is the XSD file: --------------------------------------------------------------------- <xs:schema targetNamespace="http://devtom.ekt.gr:8083/fedora/pandektis/pan/pandektis/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pan="http://devtom.ekt.gr:8083/fedora/pandektis/" xmlns:pandektis="http://devtom.ekt.gr:8083/fedora/pandektis/pan/pandektis/" xmlns="http://devtom.ekt.gr:8083/fedora/pandektis/" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="http://dublincore.org/schemas/xmls/qdc/2006/01/06/dc.xsd"/ <http://dublincore.org/schemas/xmls/qdc/2006/01/06/dc.xsd> > <xs:import namespace="http://purl.org/dc/terms/" schemaLocation="http://devtom.ekt.gr:8083/fedora/pandektis/dcterms.xsd"/ <http://devtom.ekt.gr:8083/fedora/pandektis/dcterms.xsd> > <xs:import namespace="http://devtom.ekt.gr:8083/fedora/pandektis/" schemaLocation="http://devtom.ekt.gr:8083/fedora/pandektis/panterms.xsd"/ <http://devtom.ekt.gr:8083/fedora/pandektis/panterms.xsd> > <xs:element name="pandekt" type="pandektisType"/> <xs:complexType name="pandektisType"> <xs:sequence> <xs:element ref="dc:title"/> <xs:element ref="dcterms:alternative"/> <xs:element ref="pan:researchTitle"/> </xs:sequence> </xs:complexType> <xs:element name="dc:title"/> <xs:element name="dcterms:alternative"/> <xs:element name="pan:researchTitle"/> </xs:schema> ------------------------------------------------------------------------ As you can guess, this is not valid when checked from a validation tool but since FEZ cannot recognize references, the elements are rewritten at the end of the schema file. What I am doing is the following: I declare the researchTitle to be TextInput type. I can see it in the form, It is stored in the datastream but when I view the item in FEZ, this element cannot be seen! If you are interested, I can send you the XML file exported by the administrator tool in FEZ that contains the XSD source, the Displays and all this stuff, that you can import in yout FEZ installation and test it efficiently. I am looking forward for your responses! Best regards, Kostas Stamatis |