Hello Castor users,
 
I observed the following behavior with Castor 0.9.4 Source Gen
(this used to work with Castor 0.9.3.21).
 
It can be easily reproduced by modifying the invoice.xsd from the
SourceGenerator example:
add a default namespace declaration, such as:
<xsd:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema
    xmlns = http://www.w3.org/2001/XMLSchema
    targetNamespace="http://castor.exolab.org/Test/Invoice">
 
and add an element declaration using a type from the default namespace:
<xsd:element name="dummy" type="string" />
 
When coming to source generation, this is causing the following error:
Type not found for element: dummy
 
Is this a regression or am I missing something ?
 
Thanks,
 
Vincent

Attachment: invoice.xsd
Description: Binary data

Reply via email to