OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

search-ws message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [search-ws] mixed="true" in explain


Hi Ray:

Best answer I get for this is that it could be a legacy artefact where an
original element *with* attributes was defined and string content (or
xs:token) was allowed for (i.e. not excluded). Then if any defined
attributes were subsequently removed one might be left with this ghost
construction.

Advice seems to be (as you suggested) to replace it with simple string
content.

Cheers,

Tony



On 4/2/10 22:59, "Ray Denenberg, Library of Congress" <rden@loc.gov> wrote:

> Since we may be taking over the Explain schema ... I've been in touch with
> Mike Taylor and he has disavowed any ownership, and Rob is nowhere to be
> found.  I've been studying the schema and have run into the following
> question.
> 
>   Several of the definitions look like this:
> 
> <element name='host'>
> <complexType mixed='true'>
> </complexType>
> </element>
> 
> What does it mean?
> 
> I know what mixed='true' means, so if for example, you had
> 
> <element name='host'>
> <complexType mixed='true'>
> <sequence>
> <element name="a"/>
> <element name="b"/>
> </sequence>
> </complexType>
> </element>
> 
> Then you could have an instance of element <host> that would look like:
> 
> <host>
> text preceding element a
> <a>content of element a </a>
> text between elements a and b
> <b>content of element b</b>
> text following element b
> </host>
> 
> In other words, mixed content and elements, which would not be allowed
> without mixed="true"
> 
>  But what does the first mean?  The complex definition does not define any
> elements, and it seems to me that it degenerates to nothing more than a
> string.  I've tested it out and nothing else seems to make any sense.
> 
> Anyone have any other interpretations?
> 
> --Ray
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this mail list, you must leave the OASIS TC that
> generates this mail.  Follow this link to all your TCs in OASIS at:
> https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
> 


********************************************************************************   
DISCLAIMER: This e-mail is confidential and should not be used by anyone who is
not the original intended recipient. If you have received this e-mail in error
please inform the sender and delete it from your mailbox or any other storage
mechanism. Neither Macmillan Publishers Limited nor any of its agents accept
liability for any statements made which are clearly the sender's own and not
expressly made on behalf of Macmillan Publishers Limited or one of its agents.
Please note that neither Macmillan Publishers Limited nor any of its agents
accept any responsibility for viruses that may be contained in this e-mail or
its attachments and it is your responsibility to scan the e-mail and 
attachments (if any). No contracts may be concluded on behalf of Macmillan 
Publishers Limited or its agents by means of e-mail communication. Macmillan 
Publishers Limited Registered in England and Wales with registered number 785998 
Registered Office Brunel Road, Houndmills, Basingstoke RG21 6XS   
********************************************************************************



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]