Reply To: Issues with ocpsoft-pretty-faces-3.3.3.xsd file

Splash Forums PrettyFaces Users Issues with ocpsoft-pretty-faces-3.3.3.xsd file Reply To: Issues with ocpsoft-pretty-faces-3.3.3.xsd file

#23827

To be honest, I don’t get why your IDE has problems with the schema. A standard pretty-config.xml should look like this:


<pretty-config xmlns="http://ocpsoft.com/prettyfaces/3.3.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ocpsoft.com/prettyfaces/3.3.3 http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.3.3.xsd">
  ...
</pretty-config>

The namespace is http://ocpsoft.com/prettyfaces/3.3.3, which is fine (although the website is on .org now). According to the documentation the schema location is http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.3.0.xsd. If you try to download the file, you will be redirected to http://ocpsoft.org/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.3.3.xsd which gives you the correct XSD. But of cause you could also change the schema location to the .org address if you like. But I think that IDEs should support getting redirected. 🙂