[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: extended xhtml attribute with namespace not bound

Subject: Re: extended xhtml attribute with namespace not bound
From: Juergen Donnerstag <juergen.donnerstag@xxxxxxxxx>
Date: Sun, 1 Jan 2006 16:22:49 +0100
wicket xhtml
Now it is working. Thanks a lot.

Juergen

On 1/1/06, Joe Fawcett <joefawcett@xxxxxxxxxxx> wrote:
> ----- Original Message -----
> From: "Juergen Donnerstag" <juergen.donnerstag@xxxxxxxxx>
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Sunday, January 01, 2006 2:36 PM
> Subject: Re:  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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.