sap-commerce-tools / sanecleanup

Sensible defaults for data retention and cleanup for SAP Commerce
Apache License 2.0
26 stars 17 forks source link

sanecleanup-items.xml is not a valid XML document #4

Closed azindal closed 2 years ago

azindal commented 2 years ago

Getting below error with latest code i.e. 3.4.0 version. Version 3.3.0 was working fine. Invalid content was found starting with element 'include'. One of '{key}' is expected. We are using commerce cloud 2005.

Logs: [schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:11:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected. [schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:23:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected. [schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:35:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected. [schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:45:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected. [schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:56:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected. [schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:67:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected. [schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:79:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected. [schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:89:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected. [schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:100:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected. [schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:110:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected. [schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:119:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected. [schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:130:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected. [schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:140:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected. [schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:150:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected. [schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:160:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected. [schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:170:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected. [schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:182:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected. [schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:193:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected. [schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:204:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.

BUILD FAILED

mpern commented 2 years ago

same as #5

Let me quote the release notes:

Experimental: Define DB indices to accelerate cleanup queries in CCv2 The minimum required versions for this feature are: 1905.33, 2005.17, 2011.12, 2105.2 Please always make sure to stay on the latest patch release! In case of problems:

  • Report an issue in this repository
  • Comment-out the offending type / index in sanecleanup-items.xml