Enrique Villamizar wrote:Hello Tim and thanks for your reply.
Anil, my doctype declaration is:
To be honest I don't understand why I should have a namespace declaration for any xhtml tag I used in the view pages.
What do I need to change or add to the doctype declaration in order to solve the problem?
You have to have a namespace declaration because the page is being processed by a validating XML parser. A validating parser (and most of the major ones DO validate by default) requires that each and every element and attribute and their relationships must be defined, either in an XML DTD or an XML schema. Which DTD/schema is applied to a given element is dependent on what namespace that element (or attribute) resides in. You map that using an xmlns reference, which pairs a namespace ID with a logical schema name.
Since you hadn't defined the li or hr namespaces, any tags or attributes relative to those namespaces failed to validate for lack of a validation reference.