aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes XHTML - xml:space clarification Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "XHTML - xml:space clarification" Watch "XHTML - xml:space clarification" New topic
Author

XHTML - xml:space clarification

sumanth kadaba
Greenhorn

Joined: Jun 21, 2009
Posts: 27
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

Joined: Jun 21, 2009
Posts: 27
anyone?

Eric..?
 
Don't get me started about those stupid light bulbs.
 
subject: XHTML - xml:space clarification