You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by René Scheibe <re...@tngtech.com> on 2011/06/06 14:50:00 UTC

widget-screen.xsd or StoreScreens.xml incorrect?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

One of widget-screen.xsd or StoreScreens.xml seems to be incorrect. I get the below error:

XmlFileLoader: File file:applications/product/widget/catalog/StoreScreens.xml process error. Line: 600. Error message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'decorator-section'. One of '{AllWidgets}' is expected.

Looks like a <container> node is not allowed to contain a <decorator-section> node.

Any ideas?

Regards,
René Scheibe
- -- 
René Scheibe * rene.scheibe@tngtech.com
TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring
Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock
Sitz: Unterföhring * Amtsgericht München * HRB 135082
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3szPgACgkQUXs9EHvIuCppWgCffLCqw+PAEs9/IpWlM2o2jzil
CdsAn0RnmOLzDIbzHVfbKF9Lezs5z8gB
=Zem1
-----END PGP SIGNATURE-----

Re: widget-screen.xsd or StoreScreens.xml incorrect?

Posted by Jacques Le Roux <ja...@les7arts.com>.
It looks like if you remove it the Ajax stuff does not work as well... Maybe the xsd should be changed... Bruno?

Jacques

From: "Jacques Le Roux" <ja...@les7arts.com>
> From: "René Scheibe" <re...@tngtech.com>
>> One of widget-screen.xsd or StoreScreens.xml seems to be incorrect. I get the below error:
>>
>> XmlFileLoader: File file:applications/product/widget/catalog/StoreScreens.xml process error. Line: 600. Error message: 
>> cvc-complex-type.2.4.a: Invalid content was found starting with element 'decorator-section'. One of '{AllWidgets}' is expected.
>>
>> Looks like a <container> node is not allowed to contain a <decorator-section> node.
>
> Yes, did you try to remove it?
>
> Jacques
>
>> Any ideas?
>>
>> Regards,
>> René Scheibe
>
> 



Re: widget-screen.xsd or StoreScreens.xml incorrect?

Posted by René Scheibe <re...@tngtech.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/06/2011 04:36 PM, Jacques Le Roux wrote:
> From: "René Scheibe" <re...@tngtech.com>
>> One of widget-screen.xsd or StoreScreens.xml seems to be incorrect. I
>> get the below error:
>>
>> XmlFileLoader: File
>> file:applications/product/widget/catalog/StoreScreens.xml process
>> error. Line: 600. Error message: cvc-complex-type.2.4.a: Invalid
>> content was found starting with element 'decorator-section'. One of
>> '{AllWidgets}' is expected.
>>
>> Looks like a <container> node is not allowed to contain a
>> <decorator-section> node.
> 
> Yes, did you try to remove it?
No I didn't. I just saw that it was referenced in StoreForms.xml via
some AJAX update functions. So I didn't investigate any further.

Regards,
René Scheibe
- -- 
René Scheibe * rene.scheibe@tngtech.com
TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring
Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock
Sitz: Unterföhring * Amtsgericht München * HRB 135082
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3tAzUACgkQUXs9EHvIuCrxdQCeLIiCZHd+jlUF53F6eSnbuech
49YAn3LS5cOLxKXBQPr5+cUHeRKJgPT/
=MxZW
-----END PGP SIGNATURE-----

Re: widget-screen.xsd or StoreScreens.xml incorrect?

Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "René Scheibe" <re...@tngtech.com>
> One of widget-screen.xsd or StoreScreens.xml seems to be incorrect. I get the below error:
>
> XmlFileLoader: File file:applications/product/widget/catalog/StoreScreens.xml process error. Line: 600. Error message: 
> cvc-complex-type.2.4.a: Invalid content was found starting with element 'decorator-section'. One of '{AllWidgets}' is expected.
>
> Looks like a <container> node is not allowed to contain a <decorator-section> node.

Yes, did you try to remove it?

Jacques

> Any ideas?
>
> Regards,
> René Scheibe