Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Blocker
-
Resolution: Unresolved
-
Affects Version/s: 1.1.2.1
-
Fix Version/s: None
-
Component/s: XML code generator
-
Labels:None
-
Environment:Eclipse 3.2.2
Castor 1.1.2.1
Java 1.4.2_14
-
Testcase included:yes
-
Number of attachments :
Description
have an Xsd where some field restriction is based on regular expression that uses special character such as "([À-ža-zA-Z\- '])*"
In this case in package descriptors the objectDescriptors contain the next line
typeValidator.addPattern("([À-ža-zA-Z\\- '])*");
where the pattern is not the same.
What I wrong?
Thank's in advance
In the attached file there are two sample.
The ant castor_xml_saia_build.1.1.xml contains two targets: GeneratorTestCastor and GeneratorRichiesta
The first is a small sample
The second is a complex sample that has another problem. With the version 0.9.5.4 the generated class was compilable but with that new version none.
With the old version there where problem with collision but source code was complilable.
Thank's in advance
Activity
| Field | Original Value | New Value |
|---|---|---|
| Attachment | testCastor.zip [ 31216 ] |
| Attachment | issueCastor.zip [ 31217 ] |
| Assignee | Edward Kuns [ edward.kuns@rockwellfirstpoint.com ] |
| Attachment | exsample2.zip [ 31261 ] |
| Assignee | Edward Kuns [ edward.kuns@rockwellfirstpoint.com ] |