Pages: 1
Print
Author Topic: XSD version 1.1 support?  (Read 2193 times)
4fingers
Member

Posts: 11


« on: March 12, 2009, 07:45:15 AM »

Hi,

I now need something more powerful than a DTD file so I am looking into using XSD. What I am wanting is the Assertions functionality found in XSD draft version 1.1

I would use other Schemas like Schematron and Relax NG but I read in another post found here:
http://forums.xmetal.com/index.php?topic=112.0
That you plan to just support XSD for now.

The problem is that I don't know if you even support version 1.1 as I managed to find a tutorial here:
XML Schema 1.1, Part 1: An introduction to XML Schema 1.1
That gives a sample XML Schema for anyAtomicType which is a special XML Schema 1.1 built-in data type. I pasted the following sample into a file called test.xsd:
Code:
<schema xmlns="http://www.w3.org/2001/XMLSchema"
        targetNamespace="test" xmlns:pfx="test">
   <element name="root">
      <complexType>
         <sequence>
            <element name="elanyAtomicType" type="anyAtomicType"
                     maxOccurs="unbounded"/>
         </sequence>
      </complexType>
   </element>
</schema>
When I go to New -> Blank XML Document -> Select my XSD file and click open.
I then receive an error message saying:
Quote
Unable to find referenced data type of an <element>.
Is this because I am doing something wrong or is XSD v1.1 not supported?

Thanks
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 1548



WWW
« Reply #1 on: March 13, 2009, 02:58:14 PM »

This feature of Schema is not currently supported (and in this case the error message doesn't actually make sense because we do not have any code to deal with this unsupported feature, so XMetaL is simply telling you what it thinks is happening in the context of what it does support).

Note that we typically also do not attempt to implement standards or recommendations that have not been finalized. We do plan to continue to improve our Schema support and I will make sure that development is aware of this request.
Logged
Pages: 1
Print
Jump to:  

email us