Closed Bug 393849 Opened 17 years ago Closed 8 years ago

Refered xsd schema for XForms models do not support Unicode character classes

Categories

(Core Graveyard :: XForms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ankostis, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.1.6) Gecko/20070802 Firefox/2.0.0.6
Build Identifier: 0.8

Trying to establish an XML type constraint on a model
instance element, according to this specification:
http://www.w3.org/TR/xmlschema-2/#dt-cces
It does not work.

Here is a sample xforms source (haven't check correctness):
<xf:model >
  <xsd:schema xmlns="some-uri">
  ...
  <xsd:simpleType name="greeknameType">
    <xsd:restriction base="xsd:string"> 
      <xsd:pattern value="\p{IsGreek}*"></xsd:pattern>
    </xsd:restriction>
  </xsd:simpleType>

  ...
  </xsd:schema>

  <xf:instance xmlns="some-uri">
    ..
  </xf:instance>
<xf:model>



Reproducible: Always

Steps to Reproduce:
1.
2.
3.
RIP xforms
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.