What's wrong with this?

Discussion in 'XML' started by Bart Vandewoestyne, Jan 25, 2005.

  1. 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

    --
    "Share what you know. Learn what you don't."
    Bart Vandewoestyne, Jan 25, 2005
    #1
    1. Advertising

  2. In article <>,
    Bart Vandewoestyne <> wrote:
    >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 (&lArr;):
    >
    >It is complaining about the use of the &lArr; 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
    Richard Tobin, Jan 25, 2005
    #2
    1. Advertising

  3. /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 (&lArr;):
    >
    > It is complaining about the use of the &lArr; 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

    --
    Stanimir
    Stanimir Stamenkov, Jan 25, 2005
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Salisha Khan
    Replies:
    1
    Views:
    11,636
    JohnFol
    Aug 1, 2003
  2. Replies:
    2
    Views:
    385
  3. Pial
    Replies:
    4
    Views:
    56,613
    Phatman
    Aug 27, 2010
  4. Paul Leventis

    Re: Quartus bug or wrong VHDL?

    Paul Leventis, Jun 24, 2003, in forum: VHDL
    Replies:
    0
    Views:
    2,456
    Paul Leventis
    Jun 24, 2003
  5. Matthew
    Replies:
    7
    Views:
    654
    Priscilla Walmsley
    Jan 7, 2005
Loading...

Share This Page