Page 1 of 1

Retrieving claims in multiple languages

Posted: Fri Jul 03, 2020 5:51 pm
by kevin
Hello,
A fulltext inquiry for SE.541995.C2 lists two sets of available claims, one in English and one in Swedish:

Code: Select all

<ops:fulltext-instance system="ops.epo.org" lang="EN" desc="claims">
  <ops:fulltext-format-options>
    <ops:fulltext-format>text-only</ops:fulltext-format>
  </ops:fulltext-format-options>
</ops:fulltext-instance>
<ops:fulltext-instance system="ops.epo.org" lang="SV" desc="claims">
  <ops:fulltext-format-options>
    <ops:fulltext-format>text-only</ops:fulltext-format>
  </ops:fulltext-format-options>
</ops:fulltext-instance>
However, it appears that when retrieving the claims only the English claims are returned:

Code: Select all

$ curl -s -H 'Authorization: Bearer ...' 'https://ops.epo.org/3.2/rest-services/published-data/publication/docdb/SE.541995.C2/claims' | xmllint --xpath '//*[local-name()="claims"]/@lang' -
 lang="EN"
 
Compare this to EP.1932704.B1 where all three sets of claims are returned:

Code: Select all

$ curl -s -H 'Authorization: Bearer ...' 'https://ops.epo.org/3.2/rest-services/published-data/publication/docdb/EP.1932704.B1/claims' | xmllint --xpath '//*[local-name()="claims"]/@lang' -
 lang="DE" lang="FR" lang="EN"
 
Am I doing something wrong with this request or is it not possible to retrieve both sets of claims for this SE record?
Thanks for your help,
-Kevin

Re: Retrieving claims in multiple languages

Posted: Tue Jul 07, 2020 9:36 am
by EPO / OPS Support
Thanks, in theory we should only display one language version, not like EP where we do the exception because its our data.
Our colleagues are looking at it and thank you for informing us, it would be difficult to notice this from our end. I will get back to you later once we know what will be the outcome of the analysis by colleagues in charge of full text.

Regards,

Vesna for OPS support