The error refers to an XML element name. They all have to start with a valid character, other that whitespace and other characters specified in the XML SPEC from W3C. You'll get such an error on:
< Element> </ Element>
Actually, you can use only letters or : and _ to begin element names, other way than with a letter. So
<:element> and <_element> is valid, but <!element> is not! [red]Nosferatu[/red]
We are what we eat...
There's no such thing as free meal... once stated: methane@personal.ro
Hi.. I'm getting this same error in my DTD when I have an Attribute value = "11" .. It's type ID.. and I am pretty sure taht you can start an attribute value with a number.. here is my DTD Code..
You can't start the name of things (elements, attributes, etc) with a number. It must be a letter, or one of the W3C acceptable characters (colon :, underscore _ ), like Nosferatu said.
Okay... I knew that you had to start element tags with w3c aceptable chars... but whats the point of an ID type atrribute.. if you cant use numbers... why not just use a tag name... seems really dumb..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.