[xsd-users] error: unable to generate the test driver without a unique document root

Ted Quan tedquan at gmail.com
Tue Jan 15 01:11:18 EST 2013


FYI include XSD files

On Tue, Jan 15, 2013 at 1:02 AM, Ted Quan <tedquan at gmail.com> wrote:

> Hi Boris,
>
> I try the following command parser/serializer.  I got the following error:
>
> xsde cxx-serializer
> --generate-inline --generate-empty-impl --generate-test-driver --force-overwrite ElectronicReceiptSubmit.xsd
>
> ElectronicReceiptSubmit.xsd: error: unable to generate the test driver
> without a unique document root
> ElectronicReceiptSubmit.xsd: info: use --root-element-* options to specify
> the document root
>
> xsde cxx-parser
> --generate-inline --generate-print-impl --generate-test-driver --force-overwrite ElectronicReceiptSubmit.xsd
>
> ElectronicReceiptSubmit.xsd: error: unable to generate the test driver
> without a unique document root
> ElectronicReceiptSubmit.xsd: info: use --root-element-* options to specify
> the document root
>
> I use xsde version 3.2.0 on linux (i686).
> Could you shred some light?
>
> Best regards,
> Ted
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ElectronicReceiptSubmit.xsd
Type: application/octet-stream
Size: 10210 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20130115/679e888e/ElectronicReceiptSubmit-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ElectronicReceiptType.xsd
Type: application/octet-stream
Size: 32940 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20130115/679e888e/ElectronicReceiptType-0001.obj


More information about the xsd-users mailing list