AEM 6.2 CFP4: Submit has ns2 on tags | Community
Skip to main content
Jun 13, 2017 3:00 PM UTC
Solved

AEM 6.2 CFP4: Submit has ns2 on tags

We installed AEM Forms 6.2 CFP4.

Our submit has ns2 on the xml. Any idea why? Seems to be something to do with panels.

XSD has no mention of "ns2".

"=============================="

<?xml version="1.0" encoding="UTF-8"?>

<data xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">

  <ns2:Metadata>

        <ApplicationId>2</ApplicationId>

        <ApplicantId>1</ApplicantId>

        <FormName>name</FormName>

        <SectionName>section</SectionName>

      </ns2:Metadata>

  <ns2:PrimaryName>

        <LastName>me</LastName>

        <NoGivenName>false</NoGivenName>

        <GivenName>me</GivenName>

  </ns2:PrimaryName>

...

</data>

"=============================="

Appears to be with JDK jdk1.8.0_92 (my machine). Doesn't occur with jdk1.8.0_74 (another machine).

But we doubt the JDK is related.

Also doesn't seem to occur on my machine when I don't do a prefill.

-Joel

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
gahujaAccepted solution
Employee
Aug 11, 2017 1:02 PM UTC

Hi joell91868939​,

Can you use the guideBridge API (getDataXML[0]) to verify the XML that is being posted? This XML should not have the ns2 namespace.

[0] Adaptive Forms Class: GuideBridge

3 replies

gahujaAccepted solution
Employee
Aug 11, 2017 1:02 PM UTC

Hi joell91868939​,

Can you use the guideBridge API (getDataXML[0]) to verify the XML that is being posted? This XML should not have the ns2 namespace.

[0] Adaptive Forms Class: GuideBridge

Translate
Employee
Aug 11, 2017 10:37 AM UTC

What kind of Form are you using? Is it XFA,XSD or None based Form Model?

Let me get back to you on that.

Translate
kautuk_sahni
Employee
Aug 11, 2017 10:05 AM UTC

https://forums.adobe.com/people/deepak%20k. any help here?

~kautuk

Translate
Kautuk Sahni