W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2004

RE: BinaryBase64 Schema Validation Problem

From: Francis Lang <francislang@redlinesoftware.co.uk>
Date: Mon, 16 Aug 2004 09:06:16 +0100
To: <xmlschema-dev@w3.org>
Message-ID: <AB418061A6AC42C9972FFC8C58885B.MAI@redline.local>
Thanks for your help so far.

 

I've declared the schema:

 

<?xml version="1.0" encoding="UTF-8" ?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="urn:schemas-microsoft-com:datatypes" elementFormDefault="qualified">

<xsd:import namespace=" urn:schemas-microsoft-com:datatypes"
schemaLocation="DATATYPES_SCHEMA_LOCATION" />

 

And my PDFFILE Tag is now:

 

<xsd:element name="PDFFILE" minOccurs="0" maxOccurs="1" type="tyBinBase64"
/>

 

Complex type tyBinBase64 is:

 

<xsd:complexType name="tyBinBase64">

            <xsd:simpleContent>

                        <xsd:extension base="xsd:base64Binary">

                                    <xsd:attribute ref="dt:dt" />

                        </xsd:extension>           

            </xsd:simpleContent>

</xsd:complexType>

 

I now get the error:

 

Reference to undeclared namespace prefix: 'dt'

 

Any ideas?

 
Received on Monday, 16 August 2004 08:08:24 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:10 UTC