I would use validation for this purpose, usually the message will be explicit enough that you'll know what the problem is. But, in general, there is no easy way to find out what elements are not accessible via a typed getter, if that is a fair restatement. The values do get passed along, in the sense that if you were to save that document back out, "PORequired" would still be there.
 
Radu


From: Butterwood, Richard [mailto:[EMAIL PROTECTED]
Sent: Monday, February 13, 2006 10:42 AM
To: [email protected]
Subject: Listing unknown received XML elements

Hi,

 

Is there anyway to report any XML received that is not part of the XSD?  For example I received an element named “PORequired”.  The element I was expecting was PoRequired.  XML Beans did not error out and the value did not get passed along.

 

I’m sure there as got to be a solution to this.

 

Richard Butterwood | Senior Analyst/Programmer | Infor | office: 770-418-2000 X 1167 | cell: 678-492-3080 | fax: 770-418-2022 | [EMAIL PROTECTED]

 

SAVE THE DATE:
Inforum
Infor Customer Conference
April 9 – 12, 2006
Mandalay Bay Resort & Casino
Las Vegas

 

_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

Reply via email to