[eml-dev] access in PhysicalDistributionType

Jing Tao tao at nceas.ucsb.edu
Thu Nov 13 17:34:07 PST 2008


Hi, Margaret:

To my understanding, the tree editor in morpho should be changed. Except 
that, i couldn't remember something else need to be changed. What do you 
think?

Thanks,

Jing

Jing Tao
National Center for Ecological
Analysis and Synthesis (NCEAS)
735 State St. Suite 204
Santa Barbara, CA 93101

On Thu, 13 Nov 2008, Margaret O'Brien wrote:

> 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