https://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362008-09-22T19:20:21ZEcoinformatics RedmineEML - Bug #2568: Inconsistent naming of "method"(s) elementhttps://projects.ecoinformatics.org/ecoinfo/issues/2568?journal_id=87642008-09-22T19:20:21ZMargaret O'Brienmob@msi.ucsb.edu
<ul></ul><p>targeting for 2.1.0, although may drop back to unspecified.</p> EML - Bug #2568: Inconsistent naming of "method"(s) elementhttps://projects.ecoinformatics.org/ecoinfo/issues/2568?journal_id=87652008-10-01T23:26:08ZMargaret O'Brienmob@msi.ucsb.edu
<ul></ul><p>schema bugs targeted for 2.1.0 set to P1</p> EML - Bug #2568: Inconsistent naming of "method"(s) elementhttps://projects.ecoinformatics.org/ecoinfo/issues/2568?journal_id=87662008-10-02T20:05:32ZMargaret O'Brienmob@msi.ucsb.edu
<ul></ul><p>The methodsType elements are children of <methods> or <method> elements in several mnodules:<br />eml-attribute.xsd:<br /> <xs:element name="method" type="md:MethodsType" minOccurs="0"><br />eml-dataset.xsd:<br /> <xs:element name="methods" type="md:MethodsType" minOccurs="0"><br />eml-entity.xsd:<br /> <xs:element name="method" type="md:MethodsType" minOccurs="0"><br />eml-methods.xsd:<br /> <xs:element name="methods" type="MethodsType"></p>
<p>the xpaths in instance documents:<br />eml/dataset/methods<br />eml/dataset/dataTable/method<br />eml/dataset/dataTable/attributeList/attribute/method</p>
<p>the declarations will be standardized to <br /><xs:element name="methods" type="md:MethodsType" ...></p>
<p>for these reasons:<br />1. the type is called MethodsType (plural) in the imported methods module,<br />2. it can be composed of multiple <methodStep> elements (or other) children,<br />3. use of a plural noun is common common practice in XML to contain multiple singular children of the same noun, which means that if the methods module is expanded in the future, <method> children (singular) could be inserted to contain the <methodStep>s</p> EML - Bug #2568: Inconsistent naming of "method"(s) elementhttps://projects.ecoinformatics.org/ecoinfo/issues/2568?journal_id=87672008-10-02T21:11:11ZMargaret O'Brienmob@msi.ucsb.edu
<ul></ul><p>don't close this bug till you update the pngs for:<br />dataTable<br />entity<br />spatialRaster<br />spatialVector<br />storedProcedure<br />view</p>
<p>all these ref the EntityGroup (changed in rev 1.86)</p> EML - Bug #2568: Inconsistent naming of "method"(s) elementhttps://projects.ecoinformatics.org/ecoinfo/issues/2568?journal_id=87682008-11-06T18:27:27ZMargaret O'Brienmob@msi.ucsb.edu
<ul></ul><p>this is done, except for the documentation PNGs, which are now all listed in bug <a class="issue tracker-1 status-3 priority-2 priority-default closed" title="Bug: recreate all the PNG files (Resolved)" href="https://projects.ecoinformatics.org/ecoinfo/issues/3600">#3600</a>. so this one can be closed.</p> EML - Bug #2568: Inconsistent naming of "method"(s) elementhttps://projects.ecoinformatics.org/ecoinfo/issues/2568?journal_id=87692008-12-02T23:53:40ZMargaret O'Brienmob@msi.ucsb.edu
<ul></ul><p>Just adding a summary of what Jing and I found for method/s declarations:</p>
<p>These 2 were already declared as "methods" and dont need to be changed:<br />eml-dataset.xsd: <xs:element name="methods" type="md:MethodsType" minOccurs="0"><br />eml-methods.xsd: <xs:element name="methods" type="MethodsType"></p>
<p>This path need to be changed: attribute/method<br />eml-attribute.xsd: <xs:element name="method" type="md:MethodsType" minOccurs="0"></p>
<p>and those that use the EntityGroup: <br />otherEntity/method<br />dataTable/method<br />spatialRaster/method<br />spatialVector/method<br />view/method</p>
<p>eml-entity.xsd: <xs:group name="EntityGroup"><br />eml-entity.xsd: <xs:element name="method" type="md:MethodsType" minOccurs="0"><br />eml-dataTable.xsd: <xs:group ref="ent:EntityGroup"/><br />eml-entity.xsd: <xs:group ref="EntityGroup"/><br />eml-spatialRaster.xsd: <xs:group ref="ent:EntityGroup"/><br />eml-spatialVector.xsd: <xs:group ref="ent:EntityGroup"/><br />eml-storedProcedure.xsd: <xs:group ref="ent:EntityGroup"/><br />eml-view.xsd: <xs:group ref="ent:EntityGroup"/></p> EML - Bug #2568: Inconsistent naming of "method"(s) elementhttps://projects.ecoinformatics.org/ecoinfo/issues/2568?journal_id=87702013-03-27T21:20:37ZRedmine Admin
<ul></ul><p>Original Bugzilla ID was 2568</p>