xml errors for sentinel theme on Eclipse project.

Locked
twothumbsticks
Posts: 1
Joined: 12 May 2015, 03:11

07 Sep 2015, 13:05

I just bought the Sentinel Theme but when I try to import it with Eclipse STS I get the following errors.

Code: Select all

cvc-complex-type.2.2: Element 'name' must have no element [children], and the value must be valid.	faces-config.xml	/speedrun/WebContent/WEB-INF	line 6	XML Problem

Code: Select all

cvc-complex-type.2.4.a: Invalid content was found starting with element 'description'. One of '{"http://java.sun.com/xml/ns/javaee":handler-class, "http://java.sun.com/xml/ns/javaee":behavior, "http://java.sun.com/xml/ns/javaee":component, "http://java.sun.com/xml/ns/javaee":converter, "http://java.sun.com/xml/ns/javaee":validator, "http://java.sun.com/xml/ns/javaee":source}' is expected.	primefaces-sentinel.taglib.xml	/speedrun/WebContent/WEB-INF	line 11	XML Problem

Code: Select all

cvc-pattern-valid: Value 'primefaces-sentinel' is not facet-valid with respect to pattern '($|_|\p{L})(\p{L}|\p{Nd}|_|$)*' for type 'null'.	faces-config.xml	/speedrun/WebContent/WEB-INF	line 6	XML Problem
I also posted it on stackoverflow
http://stackoverflow.com/questions/3243 ... ing-primef

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

09 Sep 2015, 11:18

Thanks for the issue. We will fix for next release.
Similar issue; http://forum.primefaces.org/viewtopic.php?f=23&t=43133

For now, I think you can remove the primefaces-sentinel.taglib.xml

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

15 Sep 2015, 14:53

twothumbsticks wrote:

Code: Select all

cvc-complex-type.2.4.a: Invalid content was found starting with element 'description'. One of '{"http://java.sun.com/xml/ns/javaee":handler-class, "http://java.sun.com/xml/ns/javaee":behavior, "http://java.sun.com/xml/ns/javaee":component, "http://java.sun.com/xml/ns/javaee":converter, "http://java.sun.com/xml/ns/javaee":validator, "http://java.sun.com/xml/ns/javaee":source}' is expected.	primefaces-sentinel.taglib.xml	/speedrun/WebContent/WEB-INF	line 11	XML Problem
Fixed for next release. Issue; https://github.com/primefaces/layouts/issues/30
twothumbsticks wrote:

Code: Select all

cvc-complex-type.2.2: Element 'name' must have no element [children], and the value must be valid.	faces-config.xml	/speedrun/WebContent/WEB-INF	line 6	XML Problem
On faces-config.xml, please use 'sentinel' instead of 'primefaces-sentinel' in <name> tag

Locked

Return to “Sentinel”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests