[eml-dev] access in PhysicalDistributionType
Margaret O'Brien
mob at icess.ucsb.edu
Thu Nov 13 17:22:16 PST 2008
Hi all -
by now you've probably seen the messages from cvs and bugzilla, but here
it is one more time: I made a small but crucial change to the
PhysicalDistributionType:
Way back, when I added the optional <access> element to this type, I put
it in a xs:sequence group. This was wrong -- it should have been a
xs:choice. So it meant that <access> could have had a sibling
<references> -- very bad.
So the correct instances are this:
<distribution>
<references>my-data</references>
</distribution>
or this:
<distribution>
<online>
...etc ...
</online>
<access>
...etc ...
</access>
</distribution>
IF you used a revision of eml-physical.xsd earlier the one just checked
in (r1.75), you would have been allowed to create this bad EML:
<distribution>
<references>my-data</references>
<access>
...
</access>
</distribution>
Which just isn't right. Sorry - I did not see this until I started
transforming documents and say how convoluted they would become.
Margaret
--
========================
Margaret O'Brien
Information Management
Santa Barbara Coastal LTER
Marine Science Institute
University of California
Santa Barbara, CA 93106-6150
805-893-2071
mob at icess.ucsb.edu
http://sbc.lternet.edu
========================
More information about the Eml-dev
mailing list