From: Eric D. <ede...@sy...> - 2008-02-19 06:41:11
|
Hi Matt, I don't know the answer to this exactly, but I will say that back after the EBI workshop most ids and refs an xs:anyURI and XMLSpy was happy to allow that "1" was an xs:anyURI, but my later attempts to validate the file with Xerces yielded angry errors that "1" was not an xs:anyURI, and I changed some things back to string. So I don't know the answer here is, but before we start making more things xs:anyURI, let's please test the Xerces validator to make sure it's okay or we're okay with how those attributes are filled. An item for the to do list, I guess. Thanks, Eric > -----Original Message----- > From: psi...@li... [mailto:psidev-ms-dev- > bo...@li...] On Behalf Of Matthew Chambers > Sent: Thursday, February 14, 2008 7:28 AM > To: Mass spectrometry standard development > Subject: [Psidev-ms-dev] Schema error for SoftwareType > > Just saw what may be an error in either the documentation or in the > schema: > > <xs:complexType name="SourceFileType"> has an id attribute: > <xs:attribute name="id" type="xs:string" use="required"> > > <xs:attribute name="sourceFileRef" type="xs:anyURI" use="optional"> is > supposed to be a URI, but it should reference the 'id' which is a string? > That doesn't make sense. > <xs:documentation>This attribute can optionally reference the 'id' of the > appropriate SourceFileType.</xs:documentation> > > Actually, looking a little closer, a lot of the Ref types (but not all) > use xs:anyURI to point to an id attribute which is a string. What is the > rationale for this? Out-of-file referencing? > > > -Matt > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Psidev-ms-dev mailing list > Psi...@li... > https://lists.sourceforge.net/lists/listinfo/psidev-ms-dev |