cancel
Showing results for 
Search instead for 
Did you mean: 

can't fill in data

Former Member
0 Kudos

Dear All,

I'm a new developer in interactive forms.

When i develop a simple application and deploy it.

if i don't fill in any data, i submit it which can print OK, else i fill in data or change any value in form ,it will print error.following message is error message:

org.xml.sax.SAXParseException: The prefix "xfa" for attribute "xfa:dataNode" associated with an element type "TravelData" is not bound.

at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)

at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)

at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)

at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)

at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:279)

... 72 more

so how can i resolve this problem.

Best Regards,

jiandong

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello jiandong!

I have faced the same issue. Have you managed to get solution? Could please share it?

Thank you in advance!

Kirill

Former Member
0 Kudos

Hi Jiandong,

You need to create atleast 1 element of the node that you are binding to the fields. Keep the cardinality of the nodes to 1:1. Create a node in the context and then create attributes for binding with it inside this node.

Hope this resolves the issue.

Regards,

Arafat

Former Member
0 Kudos

Dear Arafat,

I'm sure i create 2 element of the node that i am binding to the fields.Keep the cardinality of the nodes to 1:1.

I create node as flow:

Context

——DataSource -


1:1(Node)



——PersonalData----


1:1(Node)





——CostCenter----


String(Attribute)



——Department----


String(Attribute)



——Name----


String(Attribute)



——TravelData----


1:1(Node)



——ArrivalDate----


java.sql.Date(Attribute)


——DepartureDate----


java.sql.Date(Attribute)


——DestinationCity----


String(Attribute)

|——PdfSource----


binary

Former Member
0 Kudos

Dear Arafat,

I'm sorry that i do not have a better way to describe,

In the figure above, you can replace "-" by space.

Thank you !

Jiandong

Former Member
0 Kudos

Is anyone has good idea? This problem cost me long time!

I need your help!

Thank you very much!

Former Member
0 Kudos

Hi,

Have you binded the fields in the object pallette.. this is just a guess..

I believe you are developing the form in webDynpro java. check the data source cardinality to be 1..1.

Please do reply, if you are still facing the problem.

Thanks and Regards,

Anto.

Former Member
0 Kudos

Dear Anto,

I develop the form in webDynpro java.And data source cardinality to be 1..1.

But i still facing the problem.

I use SAP NetWeaver Developer Studio CE 7.1.

Regards,

Jiandong