on 05-09-2008 1:19 AM
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
Hello jiandong!
I have faced the same issue. Have you managed to get solution? Could please share it?
Thank you in advance!
Kirill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.