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

vijay commented on CTAKES-302:
------------------------------

The issue is (kind of obvious) that UMLS.hbm.template.xml is not a valid xml 
file - it is a template used to generate a valid xml file.  

@filter.umls.catalog@ gets replaced with either the empty string (mysql/oracle) 
or an attribute (sql server) to specify the catalog that the umls schema is in. 
 The easiest solution would be to rename this file so that the eclipse xml 
validator doesn't try to chew on it; will have to make some slight 
modifications to the scripts that generate the final xml.

> Element type "hibernate-mapping" must be followed by either attribute 
> specifications, ">" or "/>".    
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CTAKES-302
>                 URL: https://issues.apache.org/jira/browse/CTAKES-302
>             Project: cTAKES
>          Issue Type: Bug
>          Components: ctakes-ytex-res
>         Environment: Using Eclipse 4.2.2 on Windows 7 
>            Reporter: James Joseph Masanz
>
> Check out into a new workspace from SVN (as Maven project)
> select all and Maven->Update project
> Project->Build all
> End up with 6 errors, primary is
> Description   Resource        Path    Location        Type
> Element type "hibernate-mapping" must be followed by either attribute 
> specifications, ">" or "/>".    UMLS.hbm.template.xml   
> /ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/umls/model   line 
> 27 XML Problem
> Seems to be fixed if you change line 27 of UMLS.hbm.template.xml to be 
> schema="@umls.schema@" catalog="@filter.umls.catalog@">
> I'll update the component and assignee once I add the ytex components to the 
> list of components iwthin Jira



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to