Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] XOM 1.1 Parse question

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: peter murray-rust <pm286 AT cam.ac.uk>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] XOM 1.1 Parse question
  • Date: Wed, 04 Jan 2006 17:03:58 +0000

At 16:50 04/01/2006, David Forslund wrote:
I'm trying to parse the an XML file with XOM1.1 whose first few lines
are attached below. I get the following error:
<!--
This file was created using LexGrid. You can find out more about LexGrid at http://informatics.mayo.edu/ .
Generated at: 12/9/05 7:09 AM
Generated by: org.LexGrid.commons.model.emf, v0.6.0
-->
<codingScheme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:schemaLocation="http://LexGrid.org/schema/2005/01/LexGrid/codingSchemes http://LexGrid.org/schema/2005/01/LexGrid/codingSchemes.xsd";


I think this should read:

xsi:schemaLocation="http://LexGrid.org/schema/2005/01/LexGrid/codingSchemes http://LexGrid.org/schema/2005/01/LexGrid/codingSchemes.xsd";

as the thing in quotes is not a namespaceURI but an attribute value consisting of a whitespace-separated pair of namespace+address (I think this XSD construct is a horrible syntax and I have fallen foul of it before now).

P.

Peter Murray-Rust
Unilever Centre for Molecular Sciences Informatics
University of Cambridge,
Lensfield Road, Cambridge CB2 1EW, UK
+44-1223-763069




Archive powered by MHonArc 2.6.24.

Top of Page