From: David C. <dc...@ma...> - 2008-07-30 03:59:55
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> Hi Andy,<br> <br> Thanks for the recent changes to the schema. You asked a question:<br> <span style="font-size: 11pt; font-family: Calibri;" lang="EN-GB">Added</span><span style="font-size: 12pt; font-family: "Times New Roman"; color: black;" lang="EN-GB"><span style=""> </span></span><span style="font-size: 12pt; font-family: "Times New Roman"; color: rgb(0, 0, 150);" lang="EN-GB"><xsd:attribute</span><span style="font-size: 12pt; font-family: "Times New Roman"; color: rgb(245, 132, 76);" lang="EN-GB"> name</span><span style="font-size: 12pt; font-family: "Times New Roman"; color: rgb(255, 128, 64);" lang="EN-GB">=</span><span style="font-size: 12pt; font-family: "Times New Roman"; color: rgb(153, 51, 0);" lang="EN-GB">"SearchDatabase_ref"</span><span style="font-size: 12pt; font-family: "Times New Roman"; color: rgb(245, 132, 76);" lang="EN-GB"> type</span><span style="font-size: 12pt; font-family: "Times New Roman"; color: rgb(255, 128, 64);" lang="EN-GB">=</span><span style="font-size: 12pt; font-family: "Times New Roman"; color: rgb(153, 51, 0);" lang="EN-GB">"xsd:string"</span><span style="font-size: 12pt; font-family: "Times New Roman"; color: rgb(0, 0, 150);" lang="EN-GB">/> </span><span style="font-size: 11pt; font-family: Calibri;" lang="EN-GB">to DBSequence and </span><span style="font-size: 12pt; font-family: "Times New Roman"; color: rgb(0, 0, 150);" lang="EN-GB"><xsd:attribute</span><span style="font-size: 12pt; font-family: "Times New Roman"; color: rgb(245, 132, 76);" lang="EN-GB"> name</span><span style="font-size: 12pt; font-family: "Times New Roman"; color: rgb(255, 128, 64);" lang="EN-GB">=</span><span style="font-size: 12pt; font-family: "Times New Roman"; color: rgb(153, 51, 0);" lang="EN-GB">"accession"</span><span style="font-size: 12pt; font-family: "Times New Roman"; color: rgb(245, 132, 76);" lang="EN-GB"> type</span><span style="font-size: 12pt; font-family: "Times New Roman"; color: rgb(255, 128, 64);" lang="EN-GB">=</span><span style="font-size: 12pt; font-family: "Times New Roman"; color: rgb(153, 51, 0);" lang="EN-GB">"xsd:string"</span><span style="font-size: 12pt; font-family: "Times New Roman"; color: rgb(0, 0, 150);" lang="EN-GB">/> </span><span style="font-size: 11pt; font-family: Calibri;" lang="EN-GB">should either/both of these be set as required?<u><br> <br> </u>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?<br> <br> </span><br> And under<br> <small><small><tt><big><big> <AnalysisCollection><br> <SpectrumIdentification ... ><br> </big></big><br> </tt></small></small>you made the change from<br> <small><small><tt><big><big> <SpectraData_ref id="SD_1"/><br> <SearchDatabase_ref id="SDB_SwissProt"/><br> </big></big></tt></small></small>to <br> <small><small><tt><big><big> <SpectraData_ref ref="SD_1"/><br> <SearchDatabase SearchDatabase_ref="SDB_SwissProt"/><br> </big></big></tt><big><big><br> which maybe isn't as consistent as you intended - or maybe I have missed the point?<br> There is also still a : <br> <SpectrumIdentificationList_ref ref=...<br> <br> cvList is fine, except it can only be a list of exactly 1 item at the moment... (I've not fixed the schema).<br> <br> I didn't notice it last time, but the schema doesn't validate with xerces:<br> Need to change (in 2 places):<br> </big></big></small></small><small><small><big><big><xsd:pattern value="[ABCDEFGHIJKLMNOPQRSTUVWXYZ?-]{1}"/><br> </big></big></small></small>to<br> <small><small><big><big><xsd:pattern value="[ABCDEFGHIJKLMNOPQRSTUVWXYZ?\-]{1}"/><br> </big></big></small></small><small><small><big><big>(I've not updated the schema in svn - or checked to see if xerces is correct).<br> <br> Thanks,<br> <br> David<br> <br> </big></big></small></small> <pre class="moz-signature" cols="72">-- David Creasy Matrix Science 64 Baker Street London W1U 7GB, UK Tel: +44 (0)20 7486 1050 Fax: +44 (0)20 7224 1344 <a class="moz-txt-link-abbreviated" href="mailto:dc...@ma...">dc...@ma...</a> <a class="moz-txt-link-freetext" href="http://www.matrixscience.com">http://www.matrixscience.com</a> Matrix Science Ltd. is registered in England and Wales Company number 3533898</pre> </body> </html> |