I have an XSD schema
with a mistake - in one method first symbol in utf-8 'с'
<xsd:attribute name="сreationDate" type="xsd:dateTime" use="required">
I generate Java classes from this XSD. But when I call this method in project for example:
quittanceType.setСreationDate(stringToXMLGregorianCalendar(new Date));
My project does not compile and I get error:
error: cannot find symbol
quittanceType.setСreationDate(stringToXMLGregorianCalendar(paymentsToCharge.getCreationDateStr()));
^
symbol: method setСreationDate(XMLGregorianCalendar)
location: variable quittanceType of type QuittanceType
But on Macbook this project compiles successfully. What should I do? Everything seems to be normal encodings.
You should better specify the Java property name using binding file.
I'd also notified the schema authors - in case they would want to correct this.