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: [xml-dev] Interoperability [long]



> Yes, If I understand the datatype spec correctly you can do either:
>
> <xs:simpleType name="ISO8859_1">
>   <xs:restriction base="xs:string">
>     <xs:pattern value="\p{BasicLatin}+"/>
>     <xs:pattern value="\p{Latin-1Supplement}+"/>
>   </xs:restriction>
> </xs:simpleType>

Sorry, should be:

<xs:simpleType name="ISO8859_1">
  <xs:restriction base="xs:string">
    <xs:pattern value="[\p{BasicLatin}\p{Latin-1Supplement}]+"/>
  </xs:restriction>
</xs:simpleType>

/Eddie