looking at this link in the browser doesn't show it but when you show the 
source it is there?
http://dasmi.bioinf.mpi-inf.mpg.de/das/sanger-core/interaction?interactor=10526




________________________________
From: Dave Pawson <[email protected]>
To: [email protected]
Sent: Thursday, February 19, 2009 1:38:25 PM
Subject: Re: [rng-users] URI ignoring?


2009/2/19 Jonathan Warren <jonathan.warren@ ymail.com>:
> Thanks Dave - that solved my problem related to the namespace! However I now
> have another problem related to the other declarations
>
> xsi:schemaLocation and xmlns:xs
>
> The error is this:
> Error Line Number:2 column number:152 system
> id:http://dasmi. bioinf.mpi- inf.mpg.de/ das/sanger- core/interaction 
> ?interactor= 10526
> unexpected attribute "xsi:schemaLocation "
>
> the relavent xml from the above url is this|:
>
> <DASINT xmlns="http://dasmi. de"
> xmlns:xsi="http://www.w3. org/2001/ XMLSchema- instance"
> xsi:schemaLocation= "http://dasmi. de/ http://dasmi. de/dasint. xsd">
>   <INTERACTOR intId="10985entrez gene/locuslink" shortLabel=" GCN1L1"
> dbSource="entrez gene/locuslink" dbSourceCvId= "MI:0477" dbVersion=""
> dbAccessionId= "10985" dbCoordSys=" Entrez,Gene_ ID">
>
>  <DETAIL property="species" value="9606" />
>
> The relavant relaxng is currently this:
>
> <?xml version="1.0" encoding="UTF- 8"?>
> <grammar xmlns="http://relaxng. org/ns/structure /1.0"
>     xmlns:a="http://relaxng. org/ns/compatibi lity/annotations /1.0"
>     datatypeLibrary= "http://www.w3. org/2001/ XMLSchema- datatypes"
> ns="http://dasmi. de" xmlns:xsi="http://www.w3. org/2001/ XMLSchema- instance"
> xsi:schemaLocation= "http://dasmi. de/ http://dasmi. de/dasint. xsd">
>     <define name="DASINT" >
>         <element name="DASINT" >
>
>
> Any examples as to how to get around these declarations and not through
> errors would be good? I've tried putting the declarations in the DASINT
> element of the relaxng but I can't get this to work either.

The element DASINT doesn't have a definition for
xsi:schemaLocation attribute?

Is it your editor that is inserting that?

regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson. co.uk

   


      

Reply via email to