Hi Monika,

Just a quick response to your first note... it's not out of the question
that these configs will eventually move to the database (or somewhere
similarly more easy to manage).  It just is not likely to happen in DSpace
7, as the concentration in DSpace 7 is on the new UI and REST API.  We very
purposefully are *not* trying to change the DSpace API or backend
configurations *except* in areas where we have to do so in order to support
the new REST API or UI.  This is necessary in order to keep the scope of
DSpace 7 manageable -- we simply cannot fix/change everything at once.  :)

So, you are not wrong in your assumption that configuration will likely
change in the future -- ideally, it will eventually be mostly manageable
from an Admin UI (as is on the RoadMap [1]). But, that is not likely to
happen immediately in DSpace 7...it'd be more likely to occur in DSpace 8.

As for your other questions, I'll leave them to others. I haven't used the
JSPUI in some time, and I'll admit I'm not as much in the code these days.
So, you might want to simply see which XML parser class is in use already
where the input-forms.xml is being read by the Java API.

Good luck!

- Tim

On Thu, Mar 22, 2018 at 4:39 PM Monika Mevenkamp <[email protected]> wrote:

> Tim
>
> thanks for the answer even if it is not what I hoped.
>
> I am thinking of writing a command /main program that creates a collection
> with a given name, parent, authorizations and maps the newly created
> collection to a given form.
> The first part is easy enough - but mucking around in the input-forms.xml
> config file is a bit uncomfortable. For some reason I had assumed that
> these config files would be ‘moved’ to database tables.  I see I am wrong
> on that account too   :)
>
> What is your favorite XML Parser / Mangler class  to use for this kind
> input-formns.xml manipulation ?
>
> Related to this: is there a simple way that allows me to add a form/page
>  to the DSpace 5 JSPUI that accepts parameter values for a given curation
> task ?
>
> Monika
>
>
> On Mar 22, 2018, at 5:08 PM, Tim Donohue <[email protected]> wrote:
>
> Hi Monika,
>
> Unfortunately, at this time, there's no way to split up the
> input-forms.xml.  It's a completely custom XML config file, with a
> completely custom DTD (
> https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace/config/input-forms.dtd).
> Currently, it doesn't have an option to link or import settings from
> another file.
>
> In DSpace 7, there has been some effort to rethink these configurations
> (both item-submission.xml and input-forms.xml), but I don't believe this
> sort of linking is possible yet in DSpace 7 either (hopefully Andrea
> Bollini will correct me if I'm wrong).  In case it is of interest, the very
> early notes on this DSpace 7 effort are at
> https://wiki.duraspace.org/display/DSPACE/Configuration+changes+in+the+submission+process
>
>
> - Tim
>
> On Thu, Mar 22, 2018 at 12:41 PM Monika Mevenkamp <[email protected]>
> wrote:
>
>>
>> Can I split the input-forms.xml file into multiple files using some kind
>> of include directive
>>
>> Monika
>>
>> —
>> Monika Mevenkamp
>> Digital Repository Infrastructure Developer
>> Princeton University
>> Phone: 609-258-4161 <(609)%20258-4161>
>> Skype: mo-meven
>>
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> Tim Donohue
> Technical Lead for DSpace & DSpaceDirect
> DuraSpace.org | DSpace.org | DSpaceDirect.org
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to