This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XHTML - xml:space clarification

 
sumanth kadaba
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I came across a xhtml code today.



I receive a validation error according to http://validator.w3.org/check if the doc type points to xhtml1.1 but the same is valid with doctype pointing to xhtml 1.0.

I did read about the xml:space which is present in both versions.

Why is this difference? how to rectify this?

I tried doing this way changing the doc type



but it is not rendering properly in the UI.

looking forward for a reply.

Thanks guys.
 
sumanth kadaba
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anyone?

Eric..?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic