What's wrong with this?

B

Bart Vandewoestyne

I have an XML in wich i want to use some xhtml elements and entities:

http://users.telenet.be/vandewoestyne/bart/taifaq.xml

This file validates in XMLSpy 2005.

The DTD that I've made for it is:

http://users.telenet.be/vandewoestyne/bart/taifaq.dtd

Again, I get no errors from XMLSpy 2005 if I validate this.

Now I also have this XSL stylesheet:

http://users.telenet.be/vandewoestyne/bart/taifaq.xsl

But when I validate this one, I get:

"Unable to locate a reference to a supported schema type (DTD, W3C
Schema) within this document instance."

So apparently something is wrong, but i cannot exactly see what...

If i try to look at the .xml file in Mozilla, i get:

XML Parsing Error: undefined entity
Location: http://users.telenet.be/vandewoestyne/bart/taifaq.xml
Line Number 17, Column 46:
In het bewijs van stelling 2, eerste deel (⇐):

It is complaining about the use of the ⇐ entity, but i do not
understand why since I am including the xhtml entities in my .dtd file,
am i?

Regards,
Bart
 
R

Richard Tobin

I have an XML in wich i want to use some xhtml elements and entities:

http://users.telenet.be/vandewoestyne/bart/taifaq.xml

This file is valid.
Now I also have this XSL stylesheet:

http://users.telenet.be/vandewoestyne/bart/taifaq.xsl

But when I validate this one, I get:

"Unable to locate a reference to a supported schema type (DTD, W3C
Schema) within this document instance."

This file - the stylesheet - doesn't have a DTD, so you can't validate it.
This is not a problem.
If i try to look at the .xml file in Mozilla, i get:

XML Parsing Error: undefined entity
Location: http://users.telenet.be/vandewoestyne/bart/taifaq.xml
Line Number 17, Column 46:
In het bewijs van stelling 2, eerste deel (⇐):

It is complaining about the use of the ⇐ entity, but i do not
understand why since I am including the xhtml entities in my .dtd file,
am i?

Mozilla probably doesn't read the external DTD. I'm not sure what
you can do about that.

-- Richard
 
S

Stanimir Stamenkov

/Bart Vandewoestyne/:
If i try to look at the .xml file in Mozilla, i get:

XML Parsing Error: undefined entity
Location: http://users.telenet.be/vandewoestyne/bart/taifaq.xml
Line Number 17, Column 46:
In het bewijs van stelling 2, eerste deel (⇐):

It is complaining about the use of the ⇐ entity, but i do not
understand why since I am including the xhtml entities in my .dtd file,
am i?

That's Mozilla Bug 69799 "External entities are not included in XML
document" <https://bugzilla.mozilla.org/show_bug.cgi?id=69799>.

Specify more meaningful subject line and address the issue further
(if you need) in the Mozilla groups:

http://www.mozilla.org/community/developer-forums.html#mozilla-xml
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top