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"


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:extension base="xsd:base64Binary">

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





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.4.0 : Friday, 17 January 2020 23:15:23 UTC