[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
prefix not bound to a namespace
- From: Skip Evans <skip@bigskypenguin.com>
- To: xml-dev@lists.xml.org
- Date: Fri, 12 Oct 2007 15:32:37 -0400
Hey all,
I just joined the list and hope to solve a problem
I'm having with an XML file.
I'm a PHP/MySQL developer with lots of coding
experience but no real XML experience. I am now
working on a project for a client that will
involve reading XML files.
I have a file beginning with the following:
<?xml version="1.0" ?>
<!DOCTYPE galeeBkdoc PUBLIC "-//Gale//DTD Gale
eBook Document DTD 20031113//EN" "galeeBkdoc.dtd">
<html gale:versionNumber="OEB 1.2, Gale 1.0">
I also have the file galeeBkdoc.dtd in the same
directory as the XML file, and it contains the
following:
<!ATTLIST html xml:lang
%LanguageCode.datatype; #IMPLIED
xmlns
%URI.datatype; #FIXED
'http://www.w3.org/1999/xhtml'
xmlns:gale CDATA
#FIXED 'http://www.gale.com/eBooks'
gale:versionNumber CDATA
#FIXED 'OEB 1.2, Gale 1.2' >
<!ELEMENT head (%HeadOpts.mix; , gale:docName ,
gale:documentCitation , ((title , %HeadOpts.mix; ,
(base , %HeadOpts.mix;)?) | (base , %HeadOpts.mix;
, (title , %HeadOpts.mix;))))>
But when I attempt to load the XML file into
Firefox running on Ubuntu Linux I get the
following error:
XML Parsing Error: prefix not bound to a namespace
Location:
file:///usr/local/projects/oakwood/esr_01_00002.xml
Line Number 3, Column 1:<html
gale:versionNumber="OEB 1.2, Gale 1.0">
I've Googled this error, but I don't think I found
anything relevant to my problem, or at least my
newness to XML prevented me from understanding it.
Does this seem to indicate that the XML file is in
fact not finding the DTD file, or is there
potentially another problem?
Any help anyone could offer would be greatly
appreciated.
Thanks!
Skip
--
Skip Evans
Big Sky Penguin, LLC
503 S Baldwin St, #1
Madison, WI 53703
608-250-2720
http://bigskypenguin.com
=-=-=-=-=-=-=-=-=-=
Check out PHPenguin, a lightweight and versatile
PHP/MySQL, AJAX & DHTML development framework.
http://phpenguin.bigskypenguin.com/
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]