[XML-DEV Mailing List Archive Home]
[Reply To This Message]
Re: Undeclared namespace
- From: "Thomas B. Passin" <tpassin@i...>
- To: "XML-DEV" <xml-dev@i...>
- Date: Sat, 30 Oct 1999 22:56:35 -0400
Get rid of the "exp:" in the element definitions. They are not part
of the element names, they are part of the namespace, which is different.
Replace with the following in the DTD:
I tested this in IE5 and it worked fine (see below for the correct
declaration of the namespace).
Also, get rid of the xmlns:exp attribute in the DTD. The namespace
declaration is not an ordinary attribute even though it looks like one.
Declaring it in the DTD will not cause the experience element to use the exp:
namespace. You must include it in the actual <experience> element
It doesn't matter what the value of the namespace is ("ccc").
Currently there is no mechanism to do anything with the value (except for the
xsl: namespace in xslt stylesheets).
I ran the file thru the parser and
everything worked out just fine .. But still i have the same error message
cropping up .. Are there any known bugs with regards to namespaces in IE5.
Below is the exact copy of the error message ..
Can any one make sense out
The XML page cannot be displayed
Cannot view XML input
using style sheet. Please correct the error and then click the Refresh button,
or try again later.
Reference to undeclared namespace prefix: 'exp'. Line 56, Position
"Richard L. Goerwitz" wrote:
Anand Raman wrote:
> HI guys
> I am getting a Reference to undeclared namespace "exp:"
error for the
> following code snippet when i try to view the
document in IE 5.
If you want independent confirmation of the files' validity, please
feel free to run your files through out validator -
PGP key fingerprint: C1 3E F4 23
7C 33 51 8D 3B 88 53 57 56 0D 38 A0
For more info (mail, phone,
fax no.): finger
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please