Bugs item #1984110, was opened at 2008-06-04 04:56
Message generated for change (Comment added) made by cjuergen
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: Open
Resolution: None
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 13: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
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel