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

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RDDL and Schema Localization



Jeff Rafter wrote:


> Just another idea to throw onto the fire:  Could there be an example of
> utilizing RDDL for schema localization that would be of use?  My thinking
> would be to include an identifier for the language [1] (maybe also
> encoding?) of a particular shcema that could be used based on the instance
> of the document.  (I don't know if that identifier should be stored in
> arcrole or not based on recent threads).  For instance:

This is a great use case.

>
> <html xmlns:html='.../xhtml'>
>  . . .
>  <rddl:resource xl:type='simple'
>                 xl:arcrole='en'
>                 xl:role='http://www.w3.org/2000/10/XMLSchema'
>                 xs:href='http://www.example.com/Schemas/myns-en.xsd'/>
>  <rddl:resource xl:type='simple'
>                 xl:arcrole='de'
>                 xl:role='http://www.w3.org/2000/10/XMLSchema'
>                 xs:href='http://www.example.com/Schemas/myns-de.xsd'/>
> . . .
> </html>
>
> Of course arcrole is probably wrong, but I am just throwing out the basic
> concept.
>
> [1] http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt

Sure, the rddl:resource element has an optional xml:lang attribute which can
be used to localize resources, this needs to be explicitly stated with
examples.

-Jonathan