Jump to content

RoccoPwner

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by RoccoPwner

  1. Entities always end with a semi-colon. It is incorrect not to do that, whether or not they're inside attributes. I don't know about Internet Explorer's support for entities but I can't remember seeing any complaints about it before.
    Last question: Is it correct to include them within quotation marks? Thanks for your answers so far!
  2. Hello all,I have a slight problem with validating my XML file with XML DOM validator on this website. Basically I'm trying to use an entity as the value of attribute. Line that causes the problem is:<tvl:category cat="&W;" />Entity is of course listed in .dtd file as follows:<!ENTITY W "Weather"> How come such trivial thing could give me the following error? XML Parsing Error: not well-formedLocation: http://www.w3schools.com/dom/dom_validate.aspLine Number 11, Column 25: <tvl:category cat="&W;" />---------------------------------------------^ I tried using both internal or external .dtd file as well as getting rid of quotation marks, etc. and nothing seems to help :Sad: I'd very much appreciate any help! Thanks

×
×
  • Create New...