[xsde-users] Failing to retrieve embedded xml-fragments

Nebelung, Hartmut Hartmut.Nebelung at baslerweb.com
Tue Nov 17 15:14:34 EST 2015


Hi Boris,

I finally found out, it was simple c++ bug of mine:
> >       virtual void
> >       _any_characters(xml_schema::ro_string& c);

The signature does not match the definition. Adding the missing const fixes the problem.

Thanks
         Hartmut
--


Hartmut Nebelung
Software Developer



Basler AG
An der Strusbek 60-62
22926 Ahrensburg
Germany

Tel. +49 4102 463 388
Fax +49 4102 463 46 388

Hartmut.Nebelung at baslerweb.com
www.baslerweb.com




Management board: Dr.-Ing. Dietmar Ley (CEO) · John P. Jennings · Arndt Bake · Hardy Mehl
Chairman of the supervisory board: Norbert Basler
Basler AG · Amtsgericht Lübeck HRB 4090 · Ust-IdNr.: DE 135 098 121 · Steuer-Nr.: 30 292 04497 · WEEE-Reg.-Nr. DE 83888045
> -----Original Message-----
> From: Boris Kolpackov [mailto:boris at codesynthesis.com]
> Sent: Friday, November 13, 2015 3:43 PM
> To: Nebelung, Hartmut
> Cc: xsde-users at codesynthesis.com
> Subject: Re: [xsde-users] Failing to retrieve embedded xml-fragments
>
> Hi Hartmut,
>
> Nebelung, Hartmut <Hartmut.Nebelung at baslerweb.com> writes:
>
> >       virtual void
> >       _any_characters(xml_schema::ro_string& c);
>
> Ok, just to confirm, the behavior you are observing is that you
> get the _start_any_element() and _end_any_element() calls for
> "WithSubNode" but not _any_characters() between them? Can you
> show the implementation of your _any_characters()?
>
>
> > Is there single callback returning the complete content of the
> > Extension node? I would like to preserve comments and indentation
> > as well.
>
> No, this content is parsed as XML and comments, whitespaces are
> discarded.
>
> Boris



More information about the xsde-users mailing list