https://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362007-04-03T19:26:58ZEcoinformatics RedmineEML - Bug #2703: eml not valid is xmlSpy versions 2006+, eml-text and eml-documentationhttps://projects.ecoinformatics.org/ecoinfo/issues/2703?journal_id=93572007-04-03T19:26:58ZMargaret O'Brienmob@msi.ucsb.edu
<ul></ul><ul>
<li>Bug 2704 has been marked as a duplicate of this bug. ***</li>
</ul> EML - Bug #2703: eml not valid is xmlSpy versions 2006+, eml-text and eml-documentationhttps://projects.ecoinformatics.org/ecoinfo/issues/2703?journal_id=93582007-04-03T19:30:06ZMargaret O'Brienmob@msi.ucsb.edu
<ul></ul><ul>
<li>Bug 2705 has been marked as a duplicate of this bug. ***</li>
</ul> EML - Bug #2703: eml not valid is xmlSpy versions 2006+, eml-text and eml-documentationhttps://projects.ecoinformatics.org/ecoinfo/issues/2703?journal_id=93592008-02-08T01:25:31ZMargaret O'Brienmob@msi.ucsb.edu
<ul></ul><p>from INigo and Margaret:<br />EML uses some parts of DocBook schema (eg. <para> and children). Some of these are generating the parsing errors in XMLSpy 2006+. For example, in eml.xsd, there are these lines inside <para> :<br /> <ulink url="http://dublincore.org/documents/usageguide/"><br /> <citetitle><br /> The Dublin Core Metadata Initiative<br /> </citetitle><br /></ulink></p>
<p>So it seems that there are 2 choices for the short term:<br />1. take all the ulink, citetitle, and other offending tags out of eml documentation<br />2. add these elements in as children of para</p>
<p>We could consider adding these back (and maybe more?) docBook elements later (i.e., 2.1+)</p> EML - Bug #2703: eml not valid is xmlSpy versions 2006+, eml-text and eml-documentationhttps://projects.ecoinformatics.org/ecoinfo/issues/2703?journal_id=93602008-03-21T22:25:19ZMargaret O'Brienmob@msi.ucsb.edu
<ul></ul><p>From Chris and Margaret:<br />With respect to the docbook elements that contribute to this bug in eml-text.xsd, we looked into the status of the DocBook schema. We discovered that as of March 2008, there is a committee draft for DocBook schema v5. It appears to be a complete refactoring of v4 (the dtd), and introduces many backward incompatibilities. Although EML is not terribly dependent on v4, importing this schema is likely to be outside the scope of eml-2.0.2, but might be considered in the future.</p>
<p>current specification <a class="external" href="http://www.docbook.org/specs/docbook-5.0-spec-cd-03.html">http://www.docbook.org/specs/docbook-5.0-spec-cd-03.html</a><br />development history <a class="external" href="http://www.docbook.org/specs/">http://www.docbook.org/specs/</a></p> EML - Bug #2703: eml not valid is xmlSpy versions 2006+, eml-text and eml-documentationhttps://projects.ecoinformatics.org/ecoinfo/issues/2703?journal_id=93612008-03-25T18:43:03ZMargaret O'Brienmob@msi.ucsb.edu
<ul></ul><p>This is a summary of the fixes reported necessary by Inigo in his email to eml-dev (2008-02-27). Probably this list could be split into multiple bugs. Most schema docs are affected, and many also affect instance docs.</p>
<p>a. <xs:complexType name="TextType"> => add mixed="true"</p>
<p>b. and to the choice of this complexType add minOccurs="0"</p>
<p>c. eml-documentation.xsd:<br />add elementFormDefault="qualified" to the root-element</p>
<p>1 - : <ulink> unexpected under <para> in eml.xsd and elsewhere--> add element <ulink>, and child tag (<citetitle>) to the <para> element (in eml-text.xsd), following the "docBook" model.</p>
<p>2 - : no more elements under <moduleDocs> --> close element <moduleDocs> before we open <doc:module>s (group was not nested appropriately in eml.xsd)</p>
<p>3 - : further elements required under element <doc:description> in about ALL *.xsd files ---> added <section xmlns=""><para> group following <doc:description> and corresponding closing elements.</p>
<p>4 - : further elements required under element <doc:example> in most of *.xsd files --> added <section xmlns=""><para> group inside <doc:example> and corresponding closing elements.</p>
<p>5 - : empty element <doc:example/> in "methods description" eml-entity.xsd --> entry <doc:example/> deleted</p>
<p>6 - : element <sidebar> not allowed under element <section> in eml-attribute.xsd --> removed <sidebar> and corresponding closing element</p>
<p>7 - : <title> element opened after <para> group, not allowed ---> closed </section>, reopen <section>, then <title> is OK. (so, added </section><section> before <title>)</p>
<p>8 - new soft-complain: namespaces added for "coverage" in eml-dataTable.xsd</p>
<p>9 - : many empty <doc:description/> elements in eml-spatialRaster.xsd ---> Many elements removed or filled with "summary" content</p>
<p>10 - : many empty <doc:description/> elements in eml-spatialReference.xsd ---> Many elements <doc:description> filled with preceeding "<doc:summary>" content</p>
<p>11 - : many empty <doc:description/> elements in eml-spatialVector.xsd ---> Many elements <doc:description/> removed from eml-spatialVector.xsd</p> EML - Bug #2703: eml not valid is xmlSpy versions 2006+, eml-text and eml-documentationhttps://projects.ecoinformatics.org/ecoinfo/issues/2703?journal_id=93622008-03-31T21:56:14ZMargaret O'Brienmob@msi.ucsb.edu
<ul></ul><p>These are the changes required to fix bug 2703 (disregard list from previous comment):<br />1. eml-documentation.xsd: elements moduleName, moduleDescripiton, recommendedUsage, standAlone should be set to form="qualified" <br />2. eml-text.xsd: add mixed="true" to the definition of txt:TextType<br />3. eml-text.xsd: the <para> and <section> elements must be optional (minOccurs="0" maxOccurs="unbounded")<br />4. eml-text.xsd: add a child element to para: <ulink><br />5. eml-text.xsd: add a child element to para: <citetitle><br />6. eml-text.xsd: change element <sidebar> to <section></p>
<p>The schema now validates in xmlSpy2007 at the W3C, everywhere.<br /><a class="external" href="http://www.w3.org/2001/03/webdata/xsv">http://www.w3.org/2001/03/webdata/xsv</a><br />For a version of the XSV validator which can be added to the oxygen editor, see:<br /><a class="external" href="http://www.oxygenxml.com/doc/ug-standalone/custom-validation.html">http://www.oxygenxml.com/doc/ug-standalone/custom-validation.html</a></p> EML - Bug #2703: eml not valid is xmlSpy versions 2006+, eml-text and eml-documentationhttps://projects.ecoinformatics.org/ecoinfo/issues/2703?journal_id=93632008-03-31T22:41:38ZMargaret O'Brienmob@msi.ucsb.edu
<ul></ul><p>small correction to fixes for 2703:<br />the offending tag <sidebar> appears in the attribute schema, not eml-text.xsd</p>
<p>6. eml-attribute.xsd: change element <sidebar> to <section></p> EML - Bug #2703: eml not valid is xmlSpy versions 2006+, eml-text and eml-documentationhttps://projects.ecoinformatics.org/ecoinfo/issues/2703?journal_id=93642008-09-22T17:10:19ZMargaret O'Brienmob@msi.ucsb.edu
<ul></ul><p>changing status to "fixed"</p> EML - Bug #2703: eml not valid is xmlSpy versions 2006+, eml-text and eml-documentationhttps://projects.ecoinformatics.org/ecoinfo/issues/2703?journal_id=93652013-03-27T21:21:03ZRedmine Admin
<ul></ul><p>Original Bugzilla ID was 2703</p>