treatment of different xhtml namespace values

2 views
Skip to first unread message

David

unread,
Mar 30, 2010, 3:41:50 PM3/30/10
to Ubiquity XForms Developers
Ubiquity seems to treat a document with an explicit xhtml namespace
differently than a document in which xhtml is the default namespace.
In other words,

1. A document with xhtml as the default namespace is rendered fine
(e.g.,

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xf="http://www.w3.org/2002/xforms"
>
...

2. However, the same document with an explicit xhtml namespace isn't
rendered in the same manner (e.g.,

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<h:html
xmlns:h="http://www.w3.org/1999/xhtml"
xmlns:xf="http://www.w3.org/2002/xforms"
>
...


Is this the expected behavior for ubiquity?
http://code.google.com/p/ubiquity-xforms/wiki/UsingTheLibrary
(indirectly) suggests that ubiquity expects xhtml to be the default
namespace. Is that indeed the case?

Reply all
Reply to author
Forward
0 new messages