I'm using the JSON response of the OPS published data service. I have noticed that there is some special characters(like " ") is coming in the JSON Response. This is not there in the XML response.
for example check EP1234567 http://ops.epo.org/3.1/rest-services/pu ... 567/biblio in the XML Response the Applicant Name in epodoc format is "IVOCLAR VIVADENT AG [LI]".
But the same in JSON response is "IVOCLAR VIVADENT AGâ[LI]" there is an extra character "â".
I think this issue is related open-patent-services-and-publication-se ... c2519.html. I didn't found any solution/workaround to avoid or remove the special characters.
I'm wondering this special characters may come in any other fields too ?
A special character is coming in the JSON response.
-
- Posts: 1298
- Joined: Thu Feb 22, 2007 5:32 pm
Re: A special character is coming in the JSON response.
Hi,
As mentioned by you already, we don't have this character in XML so I don't think there is anything we can do about this:
But maybe some other JSON user would have a tip for you.
Also, to me the issue is not related to mentioned thread because in that case character was already present in XML.
Theoretically, special characters could show up in any text field.
Kind regards,
OPS support
As mentioned by you already, we don't have this character in XML so I don't think there is anything we can do about this:
Code: Select all
<parties>
<applicants>
<applicant sequence="1" data-format="epodoc">
<applicant-name>
<name>IVOCLAR VIVADENT AG [LI]</name>
</applicant-name>
</applicant>
<applicant sequence="1" data-format="original">
<applicant-name>
<name>IVOCLAR VIVADENT AG</name>
</applicant-name>
</applicant>
</applicants>
<inventors>
<inventor sequence="1" data-format="epodoc">
<inventor-name>
<name>VOGEL KARIN [LI]</name>
</inventor-name>
</inventor>
<inventor sequence="2" data-format="epodoc">
<inventor-name>
<name> NEUBERT ROLAND [AT]</name>
</inventor-name>
</inventor>
<inventor sequence="3" data-format="epodoc">
<inventor-name>
<name> SALZ ULRICH [DE]</name>
</inventor-name>
</inventor>
<inventor sequence="4" data-format="epodoc">
<inventor-name>
<name> RHEINBERGER VOLKER [LI]</name>
</inventor-name>
</inventor>
<inventor sequence="1" data-format="original">
<inventor-name>
<name>VOGEL, KARIN, </name>
</inventor-name>
</inventor>
<inventor sequence="2" data-format="original">
<inventor-name>
<name>NEUBERT, ROLAND, </name>
</inventor-name>
</inventor>
<inventor sequence="3" data-format="original">
<inventor-name>
<name>SALZ, ULRICH, </name>
</inventor-name>
</inventor>
<inventor sequence="4" data-format="original">
<inventor-name>
<name>RHEINBERGER, VOLKER</name>
</inventor-name>
</inventor>
</inventors>
</parties>
Also, to me the issue is not related to mentioned thread because in that case character was already present in XML.
Theoretically, special characters could show up in any text field.
Kind regards,
OPS support
Re: A special character is coming in the JSON response.
Thanks for immediate response.
Is it like OPS Team recommends XML Response, and for proper functionality/support Do we have to switch to XML Response parsing ?
Is it like OPS Team recommends XML Response, and for proper functionality/support Do we have to switch to XML Response parsing ?
-
- Posts: 1298
- Joined: Thu Feb 22, 2007 5:32 pm
Re: A special character is coming in the JSON response.
Hi,
We were hoping that some of forum users using Json would join the discussion and have some tips for you. I am sure they are more knowledgeable and would be able to assist you better.
Let's wait and see if someone has a proposition for you
Regards,
OPS support
We were hoping that some of forum users using Json would join the discussion and have some tips for you. I am sure they are more knowledgeable and would be able to assist you better.
Let's wait and see if someone has a proposition for you
Regards,
OPS support