Bugs item #1984110, was opened at 2008-06-03 23:56
Message generated for change (Settings changed) made by tdonohue
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=119984&aid=1984110&group_id=19984
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Conal Tuohy (conal_tuohy)
Assigned to: Nobody/Anonymous (nobody)
Summary: DCInputsReader doesn't expand entity refs in input-forms.xml
Initial Comment:
DCInputsReader will not expand XML entity references in input-forms.xml.
This worked in DSpace 1.4,2, in which I had refactored my input-forms.xml file
so that it included several other files by reference.
I had 2 input form pages defined, each in their own file.
In the main input-forms.xml file, I first defined these entities in the
internal DTD:
<!ENTITY generic-page SYSTEM "form-pages/generic.xml">
<!ENTITY thesis-page SYSTEM "form-pages/thesis.xml">
Then I referred to them:
<form-definitions>
<form name="thesis">
&generic-page;
&thesis-page;
</form>
<form name="generic">
&generic-page;
</form>
</form-definitions>
NB the "thesis" form can therefore contain the first "generic" page, followed
by a specifically "thesis" page, whereas the "generic" form (used by most of
the repository's collections) uses just the "generic" page.
I did a similar thing with the value-pairs elements - putting each vocabulary
into its own file, for ease of maintenance.
This all worked in DSpace 1.4.2, but in 1.5 it does not. It is as if the entity
references are simply ignored.
In 1.5 (Manakin) I get an error message from DCInputsReader saying that the
form "thesis" does not contain any pages.
----------------------------------------------------------------------
Comment By: Claudia Juergen (cjuergen)
Date: 2008-12-17 07:11
Message:
Hi Conal,
we use entities in the input-forms (1.5.1, jspui) without problems.
Do you got form-pages/generic.xml in [dspace]/config/?
Claudia
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=119984&aid=1984110&group_id=19984
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel