You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Markus Haverkamp <Ma...@metrolab.ch> on 2004/05/03 17:30:49 UTC
question
Dear Ladies and Gentlemen,
I'm trying to write a C++ implementation of Xerces, which parses XML files,
where the type of data (e.g. boolean, integer, double, float, etc. ) is
specified
in a schema. However, the parser delivers these data as XMLCh, and not as
boolean, integer, double, etc.
Do you know if the Xerces parser has an option to deliver data in the types
mentioned above, or if there is a way to transcode XMLCh in a way which is
more efficient than atof, for example ?
Best regards,
Markus Haverkamp
RE: question
Posted by Markus Haverkamp <Ma...@metrolab.ch>.
Dear Gareth,
Thanks, I will have a look.
Best regards,
Markus
-----Message d'origine-----
De : Gareth Reakes [mailto:gareth@parthenoncomputing.com]
Envoyé : lundi 3 mai 2004 17:43
À : xerces-c-dev@xml.apache.org
Objet : Re: question
Hi,
>
> more efficient than atof, for example ?
No, and moreover, XML Schema types do not generally map to in built C++
types. Take a look a Pathan 2, an XPath2 implementation build on top of
Xerces. The full range of XML Schema types (including user defined) are
available. You should check out CVS as the release is well behind this.
Gareth
>
>
>
> Best regards,
>
>
>
> Markus Haverkamp
>
>
>
>
--
Gareth Reakes, Managing Director Parthenon Computing
+44-1865-811184 http://www.parthcomp.com
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: question
Posted by Gareth Reakes <ga...@parthenoncomputing.com>.
Hi,
>
> more efficient than atof, for example ?
No, and moreover, XML Schema types do not generally map to in built C++
types. Take a look a Pathan 2, an XPath2 implementation build on top of
Xerces. The full range of XML Schema types (including user defined) are
available. You should check out CVS as the release is well behind this.
Gareth
>
>
>
> Best regards,
>
>
>
> Markus Haverkamp
>
>
>
>
--
Gareth Reakes, Managing Director Parthenon Computing
+44-1865-811184 http://www.parthcomp.com
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org