Re: Primefaces FileUpload and Prettfaces Error

Splash Forums PrettyFaces Users Primefaces FileUpload and Prettfaces Error Re: Primefaces FileUpload and Prettfaces Error

#20337

I’ve gone ahead and updated the file, if you clear the eclipse cache, it should be working now. Sorry for this rather brainless oversight :)

~Lincoln

Domdorn found the issue:

hmm... this is not working on the forum for some reason.. thats my post:

Its because the
http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.2.0.xsd
xsd file still references the 3.1.1 as the namespace, thus
http://ocpsoft.com/prettyfaces/3.2.0 is a namespace not bound to any
rules and thus eclipse complaints.

solution:
update the file
http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.2.0.xsd

to start with
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
targetNamespace="http://ocpsoft.com/prettyfaces/3.2.0"
xmlns="http://ocpsoft.com/prettyfaces/3.2.0">

instead of

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
targetNamespace="http://ocpsoft.com/prettyfaces/3.1.1"
xmlns="http://ocpsoft.com/prettyfaces/3.1.1">