The entity name must immediately follow the '&' in the entity reference.
843834Jan 5 2009 — edited Jan 6 2009This 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.