[ 
https://issues.apache.org/jira/browse/CTAKES-359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14539817#comment-14539817
 ] 

ASF subversion and git services commented on CTAKES-359:
--------------------------------------------------------

Commit 1678940 from [~seanfinan] in branch 'ctakes/trunk'
[ https://svn.apache.org/r1678940 ]

CTAKES-359 : added additional check for <Result>true</Result> preceded by xml 
declaration

> UMLS Authentication failing despite correct username and password
> -----------------------------------------------------------------
>
>                 Key: CTAKES-359
>                 URL: https://issues.apache.org/jira/browse/CTAKES-359
>             Project: cTAKES
>          Issue Type: Bug
>    Affects Versions: 3.2.1
>            Reporter: Pei Chen
>             Fix For: 3.2.2
>
>
> It seems to me that the service 
> https://uts-ws.nlm.nih.gov/restful/isValidUMLSUser returns now "<?xml 
> version='1.0' encoding='UTF-8'?><Result>true</Result>" instead of 
> "<Result>true</Result>". It means that the line
> result = line.trim().equalsIgnoreCase("<Result>true</Result>");
> in isValidUMLSUser()  should be replaced with
> result = line.trim().equalsIgnoreCase("<?xml version='1.0' 
> encoding='UTF-8'?><Result>true</Result>");
> Michal



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to