From: Steffen N. <sne...@ip...> - 2009-06-03 17:43:43
|
Hi, Has this been fixed ? Yours, Steffen On Thu, 2009-05-28 at 22:32 +0200, Steffen Neumann wrote: > Hi, > > I tried to create an Eclipse EMF model > from the mzML RC6 XSD. > > I haven't found out how to cut&paste the full error, > therefor these two screenshots :-( > > The problem are extra spaces " " in the xpath expressions: > > <xs:selector xpath=".//dx:precursor |.//dx:scan" /> > ^^ > below is a patch which cleans those up. > > Yours, > Steffen > > > > --- mzML1.1.0.xsd 2009-05-28 22:25:33.000000000 +0200 > +++ mzML1.1.0clean.xsd 2009-05-28 22:31:05.000000000 +0200 > @@ -1029,7 +1029,7 @@ > This is a reference to a source file in sourceFileList. It ensures that an id is present in the file and is one of the values defined in KEY_SOURCEFILE_ID. > </xs:documentation> > </xs:annotation> > - <xs:selector xpath=".//dx:precursor |.//dx:scan" /> > + <xs:selector xpath=".//dx:precursor|.//dx:scan" /> > <xs:field xpath="@sourceFileRef" /> > </xs:keyref> > <xs:keyref name="KEYREF_RUN_SAMPLEREF" refer="dx:KEY_SAMPLE_ID"> > @@ -1056,7 +1056,7 @@ > This is a reference to a data processing element in dataProcessingList. It ensures that an id is present in the file and is one of the values defined in KEY_DP_ID. > </xs:documentation> > </xs:annotation> > - <xs:selector xpath="./dx:run/dx:spectrumList |./dx:run/dx:chromatogramList" /> > + <xs:selector xpath="./dx:run/dx:spectrumList|./dx:run/dx:chromatogramList" /> > <xs:field xpath="@defaultDataProcessingRef" /> > </xs:keyref> > <xs:keyref name="KEYREF_DPREF" refer="dx:KEY_DP_ID"> > @@ -1065,7 +1065,7 @@ > This is a reference to a data processing element in dataProcessingList. It ensures that an id is present in the file and is one of the values defined in KEY_DP_ID. > </xs:documentation> > </xs:annotation> > - <xs:selector xpath=".//dx:spectrum |.//dx:chromatogram |.//dx:binaryDataArray" /> > + <xs:selector xpath=".//dx:spectrum|.//dx:chromatogram|.//dx:binaryDataArray" /> > <xs:field xpath="@dataProcessingRef" /> > </xs:keyref> > <xs:keyref name="KEYREF_CVREF" refer="dx:KEY_CV_ID"> > @@ -1083,7 +1083,7 @@ > This is a reference to the CV in cvList used for unit terms. It ensures that an id is present in the file and is one of the values defined in KEY_CV_ID. > </xs:documentation> > </xs:annotation> > - <xs:selector xpath=".//dx:cvParam |.//dx:userParam" /> > + <xs:selector xpath=".//dx:cvParam|.//dx:userParam" /> > <xs:field xpath="@unitCvRef" /> > </xs:keyref> > <xs:keyref name="KEYREF_RPGREF" refer="dx:KEY_RPG_ID"> > @@ -1101,7 +1101,7 @@ > This is a reference to an instrument configuration in instrumentConfigurationList. It ensures that an id is present in the file and is one of the values defined in KEY_IC_ID. > </xs:documentation> > </xs:annotation> > - <xs:selector xpath="./dx:run/dx:spectrumList |./dx:run/dx:chromatogramList" /> > + <xs:selector xpath="./dx:run/dx:spectrumList|./dx:run/dx:chromatogramList" /> > <xs:field xpath="@defaultInstrumentConfigurationRef" /> > </xs:keyref> > <xs:keyref name="KEYREF_ICREF" refer="dx:KEY_IC_ID"> > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ Psidev-ms-dev mailing list Psi...@li... https://lists.sourceforge.net/lists/listinfo/psidev-ms-dev |