File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "XHTML - xml:space clarification" Watch "XHTML - xml:space clarification" New topic

XHTML - xml:space clarification

sumanth kadaba

Joined: Jun 21, 2009
Posts: 27
I came across a xhtml code today.

I receive a validation error according to 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

Joined: Jun 21, 2009
Posts: 27

Don't get me started about those stupid light bulbs.
subject: XHTML - xml:space clarification
It's not a secret anymore!