RE: Fwd: Arabic or Hebrew languages (Right to Left Languages) and SKOS, XML,RDF,etc.

Hi,

When realy needed we use indeed xmlLiteral.
data properties of this type get an annotation to stat the xhtml xontent type that can be used
examples in http://www.w3.org/1999/xhtml namespace are (types reused from modular xhtml):
- xhtml.body.type
- xhtml.div.type
- xhtml.span.type
- xhtml.bdo.type
- xhtml.ruby.type
- xhtml.a.type ...

I do not know of any mechanism to refine xmlLiteral in a formal (OWL) way.
So for these data properties we have a proper app specific validation.
Reuse of the value in html is then straight forward.

Kind Regards,

Johan De Smedt 
> -----Original Message-----
> From: public-esw-thes-request@w3.org [mailto:public-esw-thes-request@w3.org] On Behalf Of Dan
> Brickley
> Sent: Thursday, 26 May, 2011 16:18
> To: Richard Ishida
> Cc: Ivan Herman; SKOS
> Subject: Re: Fwd: Arabic or Hebrew languages (Right to Left Languages) and SKOS, XML,RDF,etc.
> 
> Hi Richard,
> 
> Adding back in the SKOS list directly! Thanks for your reply- copied
> below for the list. Makes sense re attributes/markup, and to use
> explicit markup not support code. But I don't know much about the
> 'dir' attribute - which namespace if any that it is in, etc. From an
> RDF/XML perspective, SKOS that uses it would need to use XML Literal
> markup, I guess? I'd be really happy if someone from this list put
> together a short best practice guide for SKOS at the modelling level,
> and SKOS at the syntax (RDF/XML, RDFa, Turtle...) level. Ideally some
> SPARQL queries too...
> 
> cheers,
> 
> Dan
> 
> On 26 May 2011 14:59, Richard Ishida <ishida@w3.org> wrote:
> > Hi Danbri,
> >
> > For creating XML applications, see the articles linked from
> > http://www.w3.org/International/techniques/authoring-xml#direction
> >
> > See also the editors working draft of Additional Requirements for Bidi in
> > HTML at http://www.w3.org/International/docs/html-bidi-requirements/ for
> > additional considerations that may apply to XML applications as well as
> > HTML.
> >
> > The answer to the question "Can we use the xml:lang attribute to determine
> > direction?" is no (see the documentation).  You need a separate dir
> > attribute.  Also, markup is better than Unicode control characters - which
> > means by implication that you should avoid natural language in attribute
> > values in case you need to deal with bidi text.
> >
> > Let me know if that helps.
> > RI
> >
> >
> >
> >
> > On 26/05/2011 12:35, Dan Brickley wrote:
> >>
> >> Hello Richard,
> >>
> >> Do you have any quick advice or 'read this' urls for this SKOS thread?
> >>
> >> cheers,
> >>
> >> Dan
> >>
> >>
> >> ---------- Forwarded message ----------
> >> From: Christophe Dupriez<christophe.dupriez@destin.be>
> >> Date: 26 May 2011 12:38
> >> Subject: Arabic or Hebrew languages (Right to Left Languages) and
> >> SKOS, XML,RDF,etc.
> >> To: SKOS<public-esw-thes@w3.org>, Armando
> >> Stellato<stellato@info.uniroma2.it>
> >>
> >>
> >> Hi!
> >>
> >> I would like to know if some best practices has been set up to support
> >> RTL (right to left) languages in XML, RDF or SKOS.
> >>
> >> The problem: when displaying Arabic or Hebrew, the browsers must be
> >> told to write from right to left and (ideally) the text is better
> >> displayed aligned on the right rather than the left.
> >>
> >> One may wish that applications not be obliged to make explicit tests
> >> like "if language is Arabic or Hebrew then RTL+align:right else then
> >> LTR+align:left".
> >>
> >> What have been done for this? What the community think that should be
> >> done?
> >>
> >> I made a test by hand to prepare addition of Arabic to JITA:
> >> http://www.askosi.org/JITA-ar.htm
> >>
> >> Other languages of the JITA thesaurus, as used to access E-LIS (click
> >> on concepts in schemas):
> >> http://www.askosi.org/jita
> >>
> >> For now, my "feeling" is to add Unicode character x202B before Arabic
> >> and Hebrew labels and Unicode character x202C at the end (i.e. within
> >> the data).
> >> Character x202C is Pop Direction Format: return to the direction (LTR
> >> or RTL) in use when x202B (switch to RTL) was encountered.
> >>
> >> But what others do???
> >>
> >> I will be happy to learn about your thought on this topic!
> >>
> >> Christophe
> >>
> >
> > --
> > Richard Ishida
> > Internationalization Activity Lead
> > W3C (World Wide Web Consortium)
> >
> > http://www.w3.org/International/
> > http://rishida.net/
> >

Received on Thursday, 26 May 2011 14:38:26 UTC