[xsd-users] unable to load file with with validation

Adrian Stern adrian.stern at screenfood.com
Tue May 28 02:44:47 EDT 2013


Hi Boris,

So then parsing is an fact for the whole loading process, while serializing is for the saving process.
Thanks again.

Also I figured out how to rename my special_smil_ class. Problem was the type naming in xsd which had to be changed a bit.

If I don't set xml_schema::flags::don't_validate I still can't load my file. Validating my xml against my xsd in a online tool says that everything is ok.
Can I somehow check my files with xsdcxx and output me some info?


Freundliche Grüsse / Best Regards / Meilleures salutations
Adrian Stern

______________

Adrian Stern
Software Developer

-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com]
Sent: 28 May 2013 01:31
To: Adrian Stern
Cc: xsd-users at codesynthesis.com
Subject: Re: [xsd-users] unable to load file with --suppress-parsing activated

Hi Adrian,

Adrian Stern <adrian.stern at screenfood.com> writes:

> As i understand i do not need the parsing ability since i intend to
> load the whole document to ram (cxx-tree/DOM).

No, you still need it. Disabling parsing will omit both the parsing constructors (what you need) and parsing functions (what you don't need). To disable just parsing functions you can use the --root-element-none option.

Boris

Diese E-Mail und ihre Anhänge enthalten vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail inklusive Anhänge. Das unerlaubte Kopieren sowie die unbefugte Weitergabe der Inhalte dieser Mail ist nicht gestattet.
This e-mail and any attachments may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail including the attachments. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.



More information about the xsd-users mailing list