Page 1 of 1

Serenity 2.0.0 - Syntax Error

Posted: 20 Aug 2019, 15:59
by allandonaldson
Hi,

I've just purchased and download Serenity version 2.0.0. I see an error in the primefaces-serenity.taglib.xml.

"cvc-complex-type.2.4.d: Invalid content was found starting with element 'defaultValue'. No child element is
expected at this point."

Code: Select all

	       <attribute>
			<description><![CDATA[Delay to wait in milliseconds before closing menu on mouse leave. Default is 250.]]></description>
			<name>closeDelay</name>
			<required>false</required>
			<type>java.lang.Integer</type>
           		 <defaultValue>250</defaultValue>
		</attribute>
Default value is not a valid element.

Removing it gets it working. Thought I'd log it in case there is something I'm doing wrong.

Re: Serenity 2.0.0 - Syntax Error

Posted: 02 Sep 2019, 14:42
by mert.sincan
Fixed now. Please remove <defaultValue> option from taglib.xml for now.

Best Regards,