- From: Eddie Robertsson <eddie@allette.com.au>
- Date: Tue, 27 Nov 2001 09:33:56 +1100
- To: Manos Batsis <m.batsis@bsnet.gr>
- CC: xmlschema-dev@w3.org
> I attempted to introduce a custom element/namespace for my own needs
> (the ns is declared in the schema root):
>
> <xsd:annotation>
> <xsd:appinfo>
> <bs:defaultFix>/@Alignment</bs:defaultFix>
> </xsd:appinfo>
> </xsd:annotation>
>
> MSXML4 gives me "Element bs:defaultFix not defined in DTD/Schema".
> What am I missing?
What version of MSXML4 are you using?
The following schema validates fine for me using MSXML 4.0 RTM:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified"
xmlns:bs="www.bs.com">
<xs:element name="Test" type="xs:string">
<xs:annotation>
<xs:appinfo>
<bs:defaultFix>/@Alignment</bs:defaultFix>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:schema>
Cheers,
/Eddie
Received on Monday, 26 November 2001 17:26:47 UTC