From: Jones, A. <And...@li...> - 2008-07-30 08:24:04
|
Hi David, There is also still a : <SpectrumIdentificationList_ref ref=... Okay we should have a quick discussion about this on Thursday. The rule used in FuGE is that the element name is whatever you want, but the attribute that does the reference is called: objectBeingReferenced_ref – this way it is simple to write a parser to check that the correct element is referenced. I’m fairly sure we agreed to do this previously in a call, (although it’s less important if we have Key/KeyRefs), but I would have a slight preference to follow the rule. I’ll make the other fixes later today, Cheers Andy From: psi...@li... [mailto:psi...@li...] On Behalf Of David Creasy Sent: 30 July 2008 05:00 To: psi...@li... Subject: [Psidev-pi-dev] Changes to schema on 29th July 2008 Hi Andy, Thanks for the recent changes to the schema. You asked a question: Added <xsd:attribute name="SearchDatabase_ref" type="xsd:string"/> to DBSequence and <xsd:attribute name="accession" type="xsd:string"/> should either/both of these be set as required? I think that the answer has to be yes. However, in the MPC_use_case_working_temp.axml file, there is: SearchDatabase_ref="", so maybe Martin could comment? And under <AnalysisCollection> <SpectrumIdentification ... > you made the change from <SpectraData_ref id="SD_1"/> <SearchDatabase_ref id="SDB_SwissProt"/> to <SpectraData_ref ref="SD_1"/> <SearchDatabase SearchDatabase_ref="SDB_SwissProt"/> which maybe isn't as consistent as you intended - or maybe I have missed the point? There is also still a : <SpectrumIdentificationList_ref ref=... cvList is fine, except it can only be a list of exactly 1 item at the moment... (I've not fixed the schema). I didn't notice it last time, but the schema doesn't validate with xerces: Need to change (in 2 places): <xsd:pattern value="[ABCDEFGHIJKLMNOPQRSTUVWXYZ?-]{1}"/> to <xsd:pattern value="[ABCDEFGHIJKLMNOPQRSTUVWXYZ?\-]{1}"/> (I've not updated the schema in svn - or checked to see if xerces is correct). Thanks, David -- David Creasy Matrix Science 64 Baker Street London W1U 7GB, UK Tel: +44 (0)20 7486 1050 Fax: +44 (0)20 7224 1344 dc...@ma... http://www.matrixscience.com Matrix Science Ltd. is registered in England and Wales Company number 3533898 |