Hey folks:
What do people think about changing DSpace so that input-forms.xml can use
XInclude?
If I understand correctly, we'd just need to add the following line of code:
"factory. setXIncludeAware(true);"
Beneath
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/ds
pace/app/util/DCInputsReader.java#L116
We'd also need to update the DTD for input-forms.xml so that "xi:include"
would be a valid element in the document.
--
It seems to me that using XInclude could make the management of
input-forms.xml much easier. "input-forms.xml" gets absolutely massive when
adding new forms. So if we had separate XML documents for each form, and
then used XInclude to include them into "input-forms.xml" that could make
maintenance easier.
I suppose it could make it harder to do global updates to input-forms.xml
though. but it would be easier to keep the forms separate. I suppose you
could just search within input-forms.xml using the form name you want. it's
just not very user-friendly.
David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St, Ultimo, NSW 2007
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette