Hallo Werner,

what you saw in my post was a snipped from the XML-File, but here it comes 
again:

Code generated with castor-0.9.4.2 produced:
<Root_Tag_Name><Inner_Tag_Name></Inner_Tag_Name></Root_Tag_Name>

and code generated with castor-1.1.2 produced:
<Root_Tag_Name><inner_-tag_-name></inner_-tag_-name></Root_Tag_Name>

the XSD looks like this:
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";>
  <xs:element name="Inner_Tag_Name" type="xs:string" />
  <xs:element name="Root_Tag_Name">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="Inner_Tag_Name" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>


bye
Thomas

--
OPITZ CONSULTING Bad Homburg GmbH
Thomas Papendieck Dipl.-Ing./Dipl.-Inf. Consultant
Kaiser-Friedrich-Promenade 95 - D-61348 Bad Homburg
Phone (Fax): +49 6172 / 66260-1523 (-4500) - Mobile: +49 179 1483 003
http://www.opitz-consulting.de
Geschäftsführer: Bernhard Opitz, Dirk Faulhaber
HRB-Nr. 7100 Amtsgericht Bad Homburg

--- Originalnachricht ---
> What does the XML schema fragment look like ?
> 
> Werner
> 
> Thomas Papendieck wrote:
> > Hello,
> > 
> > my project was using version 0.9.4.2 of castor. vith this version the 
> > generated code produced XML-Tags jus as we defined in our xsd-file:
> > 
> > 
> > Now I tried version 1.1.2.
> >>from the same XSD-file the generated code now produces the following output:
> > 
> > 
> > How do I have to configure castor so that the resulting code does not try 
> > to change the case of the XML tags?
> > 
> > bye
> > 
> > Thomas
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> > 
> >     http://xircles.codehaus.org/manage_email
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to