Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] extended xhtml attribute with namespace not bound

From: "Joe Fawcett" <joefawcett@----------->
To:
Date: 1/1/2006 3:10:00 PM
----- Original Message ----- 
From: "Juergen Donnerstag" <juergen.donnerstag@xxxxxxxxx>

To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>

Sent: Sunday, January 01, 2006 2:36 PM

Subject: Re: [xsl] extended xhtml attribute with namespace not bound





Your XML is not well formed because the wicket prefix has no namespace

declared, i.e. it's "not bound".

This style of prefix declaration is often used in HTML, I'm not sure how

valid it is, but it is not allowed in XML or XHTML. You need something 
like

this:



<html
    xmlns:wicket=http://wicket.sourceforge.net
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

I'm not sure if this will affect the standard wicket server-side 
processing

though.




It is fine with wicket and I tried it already. Unfortunately it does
not make a difference. The error still occurs.

Are you saying that something like <span wicket:id="xx"> is not valid
xml/xhtml? It is not possible to use a none html attribute (like
wicket:id) inside a html tag? If that is true, do you know if it is
possible to "extend" the xhtml dtd or do I have to modify the original
xhtml dtd and add the wicket attribut definition?

Happy New Year to you too.



Juergen



No, I meant that

<html xmlns:wicket xmlns="...

is not allowed because there is no namespace URI declared for the wicket 
prefix.

Are you saying that adding the "http://wicket.sourceforge.net" still gives 
the same error?

(There need to be quotes around the URI, my reader often helpfully removes 
them.)



--



Joe


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent