Issues with ocpsoft-pretty-faces-3.3.3.xsd file

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

This topic contains 1 reply, has 2 voices, and was last updated by  Christian Kaltepoth 3 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23812

    Laabidi Raissi
    Participant

    Hello guys,
    I think you forgot to update the XSD schema targetNamespace and XML namespace. They still are pointing to ocpsoft.com.
    This is not a functional error. But IDEs always complain about it, marking the whole project with red flag.
    I uploaded a file here: http://raissi-blog-files.googlecode.com/svn/trunk/ocpsoft-pretty-faces-3.3.3.xsd. in case you don’t want to lose time with it.
    Thanks

    #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. 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.