Re: xhtml multiple namespaces

Martin Honnen <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Organization Liberty Development
Message-ID <[email protected]>

Fxparlant wrote:


> When I declare namespaces in the root "html" tag of my xhtml 1.0 
> transitional pages, I get error in w3c.validator (xmlns:dc or xmlns:tei 
> not an attribute...)
> 
> <pre>
> <!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:fxp="http://www.fxparlant.net" 
> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
> xmlns:dc="http://purl.org/dc/elements/1.1/" 
> xmlns:tei="http://www.tei-c.org/"
> xml:lang="en" lang="en" dir="ltr">
> </pre>
> 
> Which doctype should I choose to include these namespaces and be 
> validated by w3c ?

If you are combining elements from different namespaces you will 
probably need to write your own DTD or schema, unless anyone has already 
done that for all those namespaces you are using above.



-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.