Ying -
You'll also need to make sure that the clone does not reference any elements
of the original MODS. Furthermore, make sure ALL your DC elements are
referencing the clone. I've seen this happen where I had missed one and
still got the errors.
K:M
_____
From: fez-users-bounces@...
[mailto:fez-users-bounces@...] On Behalf Of yinjin
Sent: Tuesday, June 26, 2007 8:44 AM
To: fez-users@...
Subject: Re: [Fez-users] DSpace to Fez/Fedora
Hi Matt,
I see. I didn't realize that the title element in the DC datastream is
referring the MODS XSD display. I cloned a "Conference Paper MODS DC"
display as "DLC Conference paper MODS DC" and linked the title element to
the "DLC Conferenece Paper MODS 1.0". Still, I got the same error???
Here I attached the exported XSDs.
Thanks very much for the help,
Ying
----- Original Message -----
From: Matthew Smith <mailto:yo.checkit@...>
To: fez-users@...
Sent: Monday, June 25, 2007 10:18 PM
Subject: Re: [Fez-users] DSpace to Fez/Fedora
Hi Ying,
You might have noticed that you always have to have the DC datastream with
at lest the title element filled out. Can you check what is happening with
the dc:title element and make sure it is the right one for your XSD display
mapping. Otherwise it looks like you've done the right thing. Are you
running Fez 1.3? You can export your new XSD and referenced XSD mappings to
XML and send them to me if you like and maybe I will spot something.
Matt
On 6/26/07, yinjin <yinjin@...> wrote:
Hi Mat,
Yeah. That's what I did. I customized "Conference Paper MODS 1.0" and named
it "DLC Conference Paper MODS 1.0". In Fedora Object XML,
I cloned "Conference Paper (version MODS 1.0)" XSD display as "DLC
Conference Paper". In this "DLC Conference Paper" display, I linked "DLC
Conference Paper MODS 1.0" on the xmlContent part of the foxml/dataStreams.
Should I refer the same XSD display -"DLC Conference Paper MODS 1.0" in
foxml/property/@value? I'm wondering if I did the right thing as it still
doesn't work.
Thanks,
Ying
----- Original Message -----
From: Matthew <mailto:yo.checkit@...> Smith
To: fez-users@...
Sent: Sunday, June 24, 2007 8:41 PM
Subject: Re: [Fez-users] DSpace to Fez/Fedora
Hi yinjin,
Keith is right: This is a common problem if you customise the base MODS or
DC XSD Mappings. The /foxml/property/@value on line 5 should be linked to
the Title element in your content model. However, it has to be a title
element of an XSD Display Mapping which is set as an XSD Reference on the
xmlContent part of the foxml/dataStreams .... part of the XSD mapping.
Check which exact XSD Display mapping you are referencing in that part of
the foxml and make sure the VALUE attribute has a XSDMF ID reference to the
Title element within it.
We also welcome suggestions on how this interface can be made more
intuitive. There is quite a learning curve and we have not had a lot of
time for documentation! (but you can help out by sharing your experiences
on the fez wiki (hint hint))
http://dev-repo.library.uq.edu.au/wiki/index.php/Tutorials
<http://dev-repo.library.uq.edu.au/wiki/index.php/Tutorials> or
http://dev-repo.library.uq.edu.au/wiki/index.php/User_Guide
<http://dev-repo.library.uq.edu.au/wiki/index.php/User_Guide>
Matt
On 6/25/07, yinjin <yinjin@...> wrote:
Hi Keith,
Thanks for the help. I looked at error_handler.log again :
======================================================
[txt] => Array
(
[0] => <?xml version="1.0"?>
[1] => <foxml:digitalObject PID="dlc-fedora:63"
xmlns:foxml="info:fedora/fedora-system:def/foxml#"
xmlns:xsi=" <http://www.w3.org/2001/XMLSchema>
http://www.w3.org/2001/XMLSchema ">
[2] => <foxml:objectProperties>
[3] => <foxml:property
NAME="http://www.w3.org/1999/02/22-rdf-syntax-ns#type
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> "
VALUE="FedoraObject"></foxml:property>
[4] => <foxml:property
NAME="info:fedora/fedora-system:def/model#state" VALUE="A"></foxml:property>
[5] => <foxml:property
NAME="info:fedora/fedora-system:def/model#label"></foxml:property>
[6] => </foxml:objectProperties>
[7] => <foxml:datastream ID="DC" CONTROL_GROUP="X" STATE="A"
VERSIONABLE="true">
[8] => <foxml:datastreamVersion ID="DC1.0" LABEL="Dublin
Core Record" MIMETYPE="text/xml">
[9] => <foxml:xmlContent>
=====s=================================================
It seems that the line [5] => <foxml:property
NAME="info:fedora/fedora-system:def/model#label"></foxml:property>
is the one missing the VALUE property. In my XSD display, I setup
objectProperties -> property -> VALUE with
XSDMF ID Reference pointing to an XSD. I don't quite understand this part.
It was pointing to the OLD XSD and I changed it to point to the current XSD.
But it still doesn't work. It is the same error. Could you tell me what
does this VALUE mean so that I can tell that I put the right XSD there?
Thanks very much,
Ying
----- Original Message -----
From: "Keith Maull - Colorado Alliance of Research Libraries"
<keith@...>
To: <fez-users@...>
Sent: Friday, June 22, 2007 4:35 PM
Subject: Re: [Fez-users] DSpace to Fez/Fedora
> Your FOXML is missing a VALUE property, and Fedora is rejecting your/Fez's
> request in response to that missing property. For example, what should be
> :
>
> <foxml:objectProperties>
> <foxml:property
> NAME="http://www.w3.org/1999/02/22-rdf-syntax-ns#type
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> "
> VALUE="FedoraObject"/>
> <foxml:property
> NAME="info:fedora/fedora-system:def/model#state"
> VALUE="Active"/>
> ...
>
> Might actually look like :
>
> <foxml:objectProperties>
> <foxml:property
> NAME="http://www.w3.org/1999/02/22-rdf-syntax-ns#type" />
> <foxml:property
> NAME="info:fedora/fedora-system:def/model#state"
> VALUE="Active"/>
> ...
>
> NOTICE the missing VALUE attribute of the first property.
>
> I have seen this happen most often then I clone an XSD and hook it up to
> another XSD reference, but forget to edit the Fedora Object so that it
> points to the new XSD. It may also be the case that your property has a
> static value which is empty ( a very bad thing ).
>
> First, find out which property is the offender. You may have to go in and
> add some error_handler statements to print out the request being made to
> Fedora ( or sniff some packets ) to get that information.
>
> Check your Fedora Object XML and make sure the foxml:property is pointing
> to
> the right XSD, though - that may save you a lot of time off the bat.
>
> Good luck,
> K:M
>
> -----Original Message-----
> From: fez-users-bounces@...
<mailto:fez-users-bounces@...>
> [mailto:fez-users-bounces@...] On Behalf Of yinjin
> Sent: Friday, June 22, 2007 2:14 PM
> To: fez-users@...
> Subject: Re: [Fez-users] DSpace to Fez/Fedora
>
> Hi All,
>
> I tried to create a record using our customized content model and got
> following messages in fez log. Could anyone tell me what's going wroing?
> =====================================================
> [Sat Jun 23 00:48:39 2007] Array
> (
> [txt] => Array
> (
> [0] => Array
> [1] => (
> [2] => [0] => Error when calling ingest
> :fedora.server.errors.ObjectValidityException: DOValidatorXMLSchema
> returne
> d validation exception.
> [3] => The underlying exception was a org.xml.sax.SAXException.
> [4] => The message was "URI=null Line=6: cvc-complex-type.4 :
> Attribute 'VALUE' must appear on element 'foxml:property'.
> "
> [5] => [1] => POST /fedora/services/management HTTP/1.0
> [6] => Host: localhost:8080
> [7] => Authorization: Basic ZmVkb3JhQWRtaW46ZmVkb3JhQWRtaW4=
> [8] => User-Agent: NuSOAP/0.7.2 (1.95)
> [9] => Content-Type: text/xml; charset=ISO-8859-1
> [10] => SOAPAction: ""
> [11] => Content-Length: 12686
> =============================================================
>
> Thanks for the help,
> Ying
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Fez-users mailing list
> Fez-users@...
> https://lists.sourceforge.net/lists/listinfo/fez-users
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Fez-users mailing list
> Fez-users@...
> https://lists.sourceforge.net/lists/listinfo/fez-users
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fez-users mailing list
Fez-users@...
https://lists.sourceforge.net/lists/listinfo/fez-users
_____
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_____
_______________________________________________
Fez-users mailing list
Fez-users@...
https://lists.sourceforge.net/lists/listinfo/fez-users
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fez-users mailing list
Fez-users@...
https://lists.sourceforge.net/lists/listinfo/fez-users
_____
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_____
_______________________________________________
Fez-users mailing list
Fez-users@...
https://lists.sourceforge.net/lists/listinfo/fez-users
|