[xsde-users] unexpected element encountered
Boris Kolpackov
boris at codesynthesis.com
Thu Jan 26 07:36:54 EST 2012
Hi Arkadiy,
Vertleyb, Arkadiy <Arkadiy.Vertleyb at 247realmedia.com> writes:
> The parser complains about the following line:
>
> <DE_Data xmlns="http://schemas.247realmedia.com/DE_Data_post_11_3">
The most common cause is the incorrect root namespaces as passed
to the document_pimpl constructor. If you are using C++/Parser,
then it should be:
xml_schema::document_pimpl doc_p (
de_data_p,
"http://schemas.247realmedia.com/DE_Data_post_11_3", // root element namespace
"DE_Data"); // root element name
If using C++/Hybrid and aggregates, then it should be:
xml_schema::document_pimpl doc_p (
de_data_p.root_parser (),
de_data_p.root_namespace (),
de_data_p.root_name ());
Boris
More information about the xsde-users
mailing list