pkp / ots

PKP XML Parsing Service
GNU General Public License v3.0
32 stars 19 forks source link

Data loss after saving document in Texture #126

Closed fabiobatalha closed 6 years ago

fabiobatalha commented 6 years ago

OTS is retrieving XML files where the element institution do not have the attribute content-type.

The institution element in this condition is not being recognized by Texture, the content inside this element is lost after saving a document in texture.

It is probably happening because of the absence of the attribute content-type with one of the values: orgname, orgdiv1 or orgdiv2.

screenshot from 2018-03-02 10-29-48

fabiobatalha commented 6 years ago

Please do not consider the quality of the metadata inside the element institution.

axfelix commented 6 years ago

@michael, can you confirm this is likely what's happening?

michael commented 6 years ago

@axfelix yes I can confirm. See this specification here:

https://github.com/substance/dar/blob/master/DarArticle.md#aff

If you don't have structured data for the affiliation, you could do some guessing to split up into individual fields or just put the whole string into orgname (then users can structure manually in Texture).

axfelix commented 6 years ago

OK, thanks, will make that change.