Expand my Community achievements bar.

SOLVED

FEATURE_SECURE_PROCESSING error while create Document Fragment on AEM 6.5

Avatar

Level 3
  1. Using AEM Forms - 6.5.12 on Windows OS
  2. I have a REST form data model.
  3. Create a document fragment
  4. Added data elements on to text document fragment.
  5. On saving it is failing with error [object Object]. Log shows following error. Screenshot attached too.

vidhyabhushanbahl_0-1651984352779.png

08.05.2022 10:02:08.307 *ERROR* [0:0:0:0:0:0:0:1 [1651984328245] POST /libs/fd/fdm/content/crud.fd.df.documentFragmentService.json HTTP/1.1] com.adobe.livecycle.content.repository.utils.XpathToEntityNodeConverter Wrong Xpath syntax - javax.xml.transform.TransformerException: JAXP0801002: the compiler encountered an XPath expression containing '101' operators that exceeds the '100' limit set by 'FEATURE_SECURE_PROCESSING'.
08.05.2022 10:02:08.311 *ERROR* [0:0:0:0:0:0:0:1 [1651984328245] POST /libs/fd/fdm/content/crud.fd.df.documentFragmentService.json HTTP/1.1] com.adobe.icc.dbforms.exceptions.ICCException Unexpected error
com.adobe.livecycle.content.repository.exception.RepositoryException: RepositoryException: {Code}-LCC-CFG-XPT-004, {Message}-RepositoryException: {Code}-LCC-CFG-XPT-004, {Message}-Wrong Xpath syntax - javax.xml.transform.TransformerException: JAXP0801002: the compiler encountered an XPath expression containing '101' operators that exceeds the '100' limit set by 'FEATURE_SECURE_PROCESSING'.

 

Any help appericated.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@vidhyabhushanbahl Please log a support case with the IC package. 

View solution in original post

4 Replies

Avatar

Correct answer by
Employee Advisor

@vidhyabhushanbahl Please log a support case with the IC package. 

Avatar

Employee

@vidhyabhushanbahl , Can you please share the complete stack trace? What is the Java version you are using? This setting has been introduced in Java 1.8u331. Can you please try setting the following JVM property and see if it resolves your issue.

-Djdk.xml.xpathExprGrpLimit=100 -Djdk.xml.xpathExprOpLimit=2000

Avatar

Level 3

Thanks Sharoon23,

 

I did make this change and it worked but I didn't update the forum. I was using OpenJDK 11.

 

Cheers