RE: BinaryBase64 Schema Validation Problem

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