SBCLTER surname

Christopher Jones cjones at lifesci.ucsb.edu
Fri May 16 08:58:47 PDT 2003


Margaret,

I forgot to mention that the content model for the <originator> tag in 
XML allows for "multiple instances of a choice between":

<individualName />

<organizationName />

<positionName >

So, this is ok:

<originator>
   <organizationName>SBCLTER</organizationName>
</originator>

and this is ok:

<originator>
   <individualName>
     <surName>O'Brien</surName>
   </individualName>
   <organizationName>SBCLTER</organizationName>
</originator>

but, because the content model of <individualName> *requires* 
<surName>, you can't do:

<originator>
   <individualName>
   </individualName>
   <organizationName>SBCLTER</organizationName>
</originator>

So this means you just need to delete the whole <individualName> 
nodeset for it to be compliant.  I did this in the XML code and it 
worked fine, but I see that Morpho *won't* allow you to do it ...

A word of caution, though, Margaret ... editing the XML code isn't 
really condoned because the tight version control in the metadata 
catalog will get juked if you edit the XML, but don't update all of the 
<triple> links and increment the version forward on the data package.  
I'll talk with Dan about dealing with this *through Morpho* and see if 
we can resolve it.

Best,

Chris
On Wednesday, May 14, 2003, at 10:13 AM, mob wrote:

> Folks-
> Regarding the blank field showing up in the data catalog under 
> "contacts" --
> Chris suggested we delete the <surname> node using morpho.
> I've been trying to get morpho to delete the node, and it simply won't
> cooperate. I tried hunting down the file in my docs and settings dir, 
> and
> deleting the <surname> </surname> line manually, but then morpho wont 
> open
> the package at all.  It seems that it must have something in that 
> field.
> Margaret
>
_________________________________________________________________
christopher jones     cjones at lifesci.ucsb.edu      (805) 680-5946
marine science institute  university of california, santa barbara
_________________________________________________________________




More information about the Morpho-dev mailing list