[xsd-users] Re: Validation during serialization?
Ashok Nalkund
ashoknn at qualcomm.com
Wed Jun 25 04:58:29 EDT 2008
Hi Boris,
I am facing the exact problem that Timothy is facing. I tried to get
xsd to validate the object during serialization but no luck. Then I
found this post from last month on the users mailing list.
Do you have an idea when the validation for serialization would be
available?
tia,
ashok
PS: I'm not subscribed to the mailing list, please cc me on the response.
> Hi Timothy,
>
> Lenz, Timothy K <timothy.k.lenz at lmco.com> writes:
>
>> I am currently parsing and serializing XML files with the greatest of
>> ease using XSD. My problem is, however, that I can't figure out how to
>> validate what I serialize against the XML schema without reparsing what
>> I just serialized.
>
> The C++/Tree mapping does not support XML Schema validation during
> serialization (it uses underlying parser's XML Schema validation
> capabilities and Xerces-C++ does not support validation during
> serialization).
>
> We are, however, working on another XML Schema to C++ mapping which
> will provide XML Schema validation in the generated code for both
> parsing and serialization.
>
> Boris
>
More information about the xsd-users
mailing list