[xsd-users] Problems Generanting XML with Optional Tag
maiabhmg at gmail.com
Fri Mar 27 08:36:36 EDT 2009
You are right... I really has a 'filhos' seted, but no 'identificador'
in it's list.
The problem is because I remove the last 'identificar' from 'filhos'.
How can I "unset" 'filhos' ?
Boris Kolpackov escreveu:
Leandro Maia <maiabhmg at gmail.com> writes:
I have a XSD and the CXX and HXX files generated by CodeSynthesis
tool... Everything works fine, but, SOMETIMES, when I generate the
output, the tool generate a XML that is not according to the XSD.
We will need to see the code that generates the XML to figure out
what the problem is. My guess is that you set a 'filhos' object
without adding its (required) 'identificador' sub-objects.
The XSD, XML with problem, CXX and HXX are attached.
You don't need to send the generated .cxx and .hxx files since they
are big and we can easily generate them from the schema. For this
and other posting guidelines see:
1. mailto:maiabhmg at gmail.com
More information about the xsd-users