Nov 23, 2011 at 7:36 PM
Edited Nov 23, 2011 at 7:45 PM
We started using WSCF.blue a while ago and we came to realize that we miss some control over the casing of the generated code. The "Adjust Casing" option woks fine if the source XSD file uses a camelCasing convention. However our XSDs use a PascalCasing
convention. Our main concern is with parameters. It looks like parameters are generated based on the casing of the XSD. Instead, we would like them to always be camel as this is the rule we follow (as pretty much everyone else I think).
Is this something that could be easily changed? I gave a look at the WSCF.blue' source code and from what I've seen it looks like the parameter names are taken as-is from the XSD. The PascalCase decorator doesn't seem to be used
for this anyway.
Below is an example
From this XSD
<xs:element name="typeI" type="import:TypeIntervenant" /></xs:element>
<xs:element name="NameS"> <xs:simpleType> <xs:restriction base="xs:string"/> </xs:simpleType> </xs:element>
The following code is generated:
Public Sub New(ByVal typeI As TypeIntervenant, ByVal NameS As String)