You need to sign in to do that
Don't have an account?
Issue using xhtml and xml+namespaces in VF page
I have a VF page with showHeader="false" sidebar="false". Inside it I'm starting at the <html> element, as can be done when showheader="false". I'm also delcaring some xml namespaces, which subsequent elements belong to. The problem is that the VF compiler thinks that a namespace'd element *must* be a reference to a VF component. Well, in my case it's not; it's just an xml element in a namespace. The error message is:
Save error: The prefix "x" for element "x:p" is not bound. at line 1
Is there some way to relax the VF compiler? Is VF compatible with xhtml and namespaces?
thanks
Jeremy Ross
Hey jeremyy,
You should be able to wrap your
<x:element />
<div xmlsn:x="http//www.domain.com/2008/whatever"> <x:element /> </div>
At least, that's how I do FBML tags in VF.
Cheers