neharob / prettyfaces

Automatically exported from code.google.com/p/prettyfaces
0 stars 0 forks source link

XSD Schema incorrect #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It seems like simple pretty-config.xml files do not validate against the XSD 
schema. We should check that and fix the XSD file.

Forum reference:

http://ocpsoft.com/support/topic/primefaces-fileupload-and-prettfaces-error?repl
ies=24#post-1016

Original issue reported on code.google.com by chkalt on 28 Feb 2011 at 1:55

GoogleCodeExporter commented 9 years ago
Dominik found the issue:

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">

Original comment by lincolnb...@gmail.com on 28 Feb 2011 at 2:29

GoogleCodeExporter commented 9 years ago

Original comment by lincolnb...@gmail.com on 28 Feb 2011 at 2:32

GoogleCodeExporter commented 9 years ago

Original comment by lincolnb...@gmail.com on 1 Mar 2011 at 6:01