Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

The entity name must immediately follow the '&' in the entity reference.

843834Jan 5 2009 — edited Jan 6 2009
This is the fatal error I got when I tried to parse a WSDL file using org.apache.xerces.impl.xs.XMLSchemaLoader. The WSDL file contains the characters 
 which in this case, apparently have been misinterpreted as entity reference while in fact they are white spaces. I think there might be some configurations that can be set to XMLSchemaLoader to make it recognize these characters as whitespace, but I couldn't find them. Could anyone kindly point out which class/attribute I should use in Xerces API or provide a snippet of example code?

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 3 2009
Added on Jan 5 2009
6 comments
1,285 views