Return-Path: X-Original-To: apmail-ctakes-notifications-archive@www.apache.org Delivered-To: apmail-ctakes-notifications-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7670E117E0 for ; Mon, 30 Jun 2014 01:03:33 +0000 (UTC) Received: (qmail 64842 invoked by uid 500); 30 Jun 2014 01:03:33 -0000 Delivered-To: apmail-ctakes-notifications-archive@ctakes.apache.org Received: (qmail 64806 invoked by uid 500); 30 Jun 2014 01:03:33 -0000 Mailing-List: contact notifications-help@ctakes.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ctakes.apache.org Delivered-To: mailing list notifications@ctakes.apache.org Received: (qmail 64796 invoked by uid 99); 30 Jun 2014 01:03:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jun 2014 01:03:33 +0000 Date: Mon, 30 Jun 2014 01:03:33 +0000 (UTC) From: "vijay (JIRA)" To: notifications@ctakes.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CTAKES-302) Element type "hibernate-mapping" must be followed by either attribute specifications, ">" or "/>". MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)