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.0That 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.1That 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:
<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:
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