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 "Endre, MAGYARI" <en...@nextra.ro> on 2002/11/25 10:58:05 UTC
DOMString
Dear List,
I'm migrating a code from Xerces 1.5.1 to Xerces 2.1.x,
I can not see a DOMString definition in the new include files.
(there is, but only in deprecated directories)
What to use instead of DomString? Is there a Migration guide
somewhere ?
Thank you,
Endre
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: DOMString
Posted by "Endre, MAGYARI" <en...@nextra.ro>.
Hi Tinny,
Yes, they are there. I was assuming that they are in some sort of
order (for example. all DOMParser objects are in one place).
Than, I have done a simple search in the import library and I was
able to find the string:
__imp_?getLineNumber@SAXParseException@@QBEJXZ
However, I still get this error:
UdmDom_D.lib(UdmDom.obj) : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: long __thiscall
SAXParseException::getLineNumber(void)const "
(__imp_?getLineNumber@SAXParseException@@QBEJXZ)
The library is linked, otherwise i Would get hundreds of errors.
Any idea ?
Thank you,
Endre
On Mon, 25 Nov 2002, Tinny Ng wrote:
> >
> > I have checked the xerces-c_2_1_0D.dll, and indeed, there are no such
> > functions.
>
> Are you sure? They should be there and your approach (using functions in
> deprecated headers) is ok. Please make sure you have specified the
> xerces-c_2.lib or xerces-c_2D.lib (for debug) in the link step correctly.
>
> Tinny
>
> ----- Original Message -----
> From: "Endre, MAGYARI" <en...@nextra.ro>
> To: <xe...@xml.apache.org>
> Sent: Monday, November 25, 2002 7:38 AM
> Subject: Re: DOMString
>
>
> >
> > I have checked the xerces-c_2_1_0D.dll, and indeed, there are no such
> > functions.
> > My question is: What to do if I want to use the new libraries, and the
> > deprecated headers? Is that doable?
> >
> > If so, how to correct this linker errors?
> >
> > Thank you,
> > Endre
> >
> > On Mon, 25 Nov 2002, Endre, MAGYARI wrote:
> >
> > >
> > > I see. I realized it by now anyway :)
> > > Is there a problem with using:
> > > - Xerces 2.1.x
> > > - using the headers in deprecated/ directories
> > > - linking against Xerces-2 libraries
> > > ?
> > >
> > > I read the migration guide, and if I understood correctly, it should be
> > > fine.
> > >
> > > However, that's what I have done, and I have linker errors:
> > >
> > > UdmDom_D.lib(UdmDom.obj) : error LNK2001: unresolved external symbol
> > > "__declspec(dllimport) public: void __thiscall DOMParser::parse(char
> const
> > > * const)" (__imp_?parse@DOMParser@@QAEXQBD@Z)
> > > UdmDom_D.lib(UdmDom.obj) : error LNK2001: unresolved external symbol
> > > "__declspec(dllimport) public: long __thiscall
> > > SAXParseException::getColumnNumber(void)const "
> > > (__imp_?getColumnNumber@SAXParseException@@QBEJXZ)
> > > UdmDom_D.lib(UdmDom.obj) : error LNK2001: unresolved external symbol
> > > "__declspec(dllimport) public: long __thiscall
> > > SAXParseException::getLineNumber(void)const "
> > > (__imp_?getLineNumber@SAXParseException@@QBEJXZ)
> > > On Mon, 25 Nov 2002,
> > >
> > >
> > > Thank you for your help,
> > > Endre.
> > >
> > > Zdenek Nemec wrote:
> > >
> > > > Dear Endre
> > > > I am affraid there is no more DOMString use XMLCh* instead backed by
> > > > XMLString
> > > >
> > > > see
> > > > http://xml.apache.org/xerces-c/program-dom.html#XMLCh
> > > >
> > > > and
> > > > http://xml.apache.org/xerces-c/migrate_archive.html
> > > > for migration archive
> > > >
> > > >
> > > > zdenek
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Endre, MAGYARI" <en...@nextra.ro>
> > > > To: <xe...@xml.apache.org>
> > > > Sent: Monday, November 25, 2002 10:58 AM
> > > > Subject: DOMString
> > > >
> > > >
> > > > > Dear List,
> > > > >
> > > > >
> > > > > I'm migrating a code from Xerces 1.5.1 to Xerces 2.1.x,
> > > > > I can not see a DOMString definition in the new include files.
> > > > > (there is, but only in deprecated directories)
> > > > >
> > > > > What to use instead of DomString? Is there a Migration guide
> > > > > somewhere ?
> > > > > Thank you,
> > > > > Endre
> > > > >
> > > > >
> > > >
> > ---------------------------------------------------------------------
> > > > > 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
> > > >
> > >
> > >
> >
> > --
> >
> > ing. dipl. ENDRE Magyari endre@nextra.ro
> > software engineer office:+40-66-171200
> > system administrator
> mobile:+40-94-794735
> > Nextra Ltd. Florilor no 28/1. RO-4100 Miercurea Ciuc. ROMANIA
> >
> >
> > ---------------------------------------------------------------------
> > 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
>
--
ing. dipl. ENDRE Magyari endre@nextra.ro
software engineer office:+40-66-171200
system administrator mobile:+40-94-794735
Nextra Ltd. Florilor no 28/1. RO-4100 Miercurea Ciuc. ROMANIA
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: DOMString
Posted by Tinny Ng <tn...@ca.ibm.com>.
>
> I have checked the xerces-c_2_1_0D.dll, and indeed, there are no such
> functions.
Are you sure? They should be there and your approach (using functions in
deprecated headers) is ok. Please make sure you have specified the
xerces-c_2.lib or xerces-c_2D.lib (for debug) in the link step correctly.
Tinny
----- Original Message -----
From: "Endre, MAGYARI" <en...@nextra.ro>
To: <xe...@xml.apache.org>
Sent: Monday, November 25, 2002 7:38 AM
Subject: Re: DOMString
>
> I have checked the xerces-c_2_1_0D.dll, and indeed, there are no such
> functions.
> My question is: What to do if I want to use the new libraries, and the
> deprecated headers? Is that doable?
>
> If so, how to correct this linker errors?
>
> Thank you,
> Endre
>
> On Mon, 25 Nov 2002, Endre, MAGYARI wrote:
>
> >
> > I see. I realized it by now anyway :)
> > Is there a problem with using:
> > - Xerces 2.1.x
> > - using the headers in deprecated/ directories
> > - linking against Xerces-2 libraries
> > ?
> >
> > I read the migration guide, and if I understood correctly, it should be
> > fine.
> >
> > However, that's what I have done, and I have linker errors:
> >
> > UdmDom_D.lib(UdmDom.obj) : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: void __thiscall DOMParser::parse(char
const
> > * const)" (__imp_?parse@DOMParser@@QAEXQBD@Z)
> > UdmDom_D.lib(UdmDom.obj) : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: long __thiscall
> > SAXParseException::getColumnNumber(void)const "
> > (__imp_?getColumnNumber@SAXParseException@@QBEJXZ)
> > UdmDom_D.lib(UdmDom.obj) : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: long __thiscall
> > SAXParseException::getLineNumber(void)const "
> > (__imp_?getLineNumber@SAXParseException@@QBEJXZ)
> > On Mon, 25 Nov 2002,
> >
> >
> > Thank you for your help,
> > Endre.
> >
> > Zdenek Nemec wrote:
> >
> > > Dear Endre
> > > I am affraid there is no more DOMString use XMLCh* instead backed by
> > > XMLString
> > >
> > > see
> > > http://xml.apache.org/xerces-c/program-dom.html#XMLCh
> > >
> > > and
> > > http://xml.apache.org/xerces-c/migrate_archive.html
> > > for migration archive
> > >
> > >
> > > zdenek
> > >
> > >
> > > ----- Original Message -----
> > > From: "Endre, MAGYARI" <en...@nextra.ro>
> > > To: <xe...@xml.apache.org>
> > > Sent: Monday, November 25, 2002 10:58 AM
> > > Subject: DOMString
> > >
> > >
> > > > Dear List,
> > > >
> > > >
> > > > I'm migrating a code from Xerces 1.5.1 to Xerces 2.1.x,
> > > > I can not see a DOMString definition in the new include files.
> > > > (there is, but only in deprecated directories)
> > > >
> > > > What to use instead of DomString? Is there a Migration guide
> > > > somewhere ?
> > > > Thank you,
> > > > Endre
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > 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
> > >
> >
> >
>
> --
>
> ing. dipl. ENDRE Magyari endre@nextra.ro
> software engineer office:+40-66-171200
> system administrator
mobile:+40-94-794735
> Nextra Ltd. Florilor no 28/1. RO-4100 Miercurea Ciuc. ROMANIA
>
>
> ---------------------------------------------------------------------
> 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: DOMString
Posted by "Endre, MAGYARI" <en...@nextra.ro>.
I have checked the xerces-c_2_1_0D.dll, and indeed, there are no such
functions.
My question is: What to do if I want to use the new libraries, and the
deprecated headers? Is that doable?
If so, how to correct this linker errors?
Thank you,
Endre
On Mon, 25 Nov 2002, Endre, MAGYARI wrote:
>
> I see. I realized it by now anyway :)
> Is there a problem with using:
> - Xerces 2.1.x
> - using the headers in deprecated/ directories
> - linking against Xerces-2 libraries
> ?
>
> I read the migration guide, and if I understood correctly, it should be
> fine.
>
> However, that's what I have done, and I have linker errors:
>
> UdmDom_D.lib(UdmDom.obj) : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall DOMParser::parse(char const
> * const)" (__imp_?parse@DOMParser@@QAEXQBD@Z)
> UdmDom_D.lib(UdmDom.obj) : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: long __thiscall
> SAXParseException::getColumnNumber(void)const "
> (__imp_?getColumnNumber@SAXParseException@@QBEJXZ)
> UdmDom_D.lib(UdmDom.obj) : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: long __thiscall
> SAXParseException::getLineNumber(void)const "
> (__imp_?getLineNumber@SAXParseException@@QBEJXZ)
> On Mon, 25 Nov 2002,
>
>
> Thank you for your help,
> Endre.
>
> Zdenek Nemec wrote:
>
> > Dear Endre
> > I am affraid there is no more DOMString use XMLCh* instead backed by
> > XMLString
> >
> > see
> > http://xml.apache.org/xerces-c/program-dom.html#XMLCh
> >
> > and
> > http://xml.apache.org/xerces-c/migrate_archive.html
> > for migration archive
> >
> >
> > zdenek
> >
> >
> > ----- Original Message -----
> > From: "Endre, MAGYARI" <en...@nextra.ro>
> > To: <xe...@xml.apache.org>
> > Sent: Monday, November 25, 2002 10:58 AM
> > Subject: DOMString
> >
> >
> > > Dear List,
> > >
> > >
> > > I'm migrating a code from Xerces 1.5.1 to Xerces 2.1.x,
> > > I can not see a DOMString definition in the new include files.
> > > (there is, but only in deprecated directories)
> > >
> > > What to use instead of DomString? Is there a Migration guide
> > > somewhere ?
> > > Thank you,
> > > Endre
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
> >
>
>
--
ing. dipl. ENDRE Magyari endre@nextra.ro
software engineer office:+40-66-171200
system administrator mobile:+40-94-794735
Nextra Ltd. Florilor no 28/1. RO-4100 Miercurea Ciuc. ROMANIA
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: DOMString
Posted by "Endre, MAGYARI" <en...@nextra.ro>.
I see. I realized it by now anyway :)
Is there a problem with using:
- Xerces 2.1.x
- using the headers in deprecated/ directories
- linking against Xerces-2 libraries
?
I read the migration guide, and if I understood correctly, it should be
fine.
However, that's what I have done, and I have linker errors:
UdmDom_D.lib(UdmDom.obj) : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: void __thiscall DOMParser::parse(char const
* const)" (__imp_?parse@DOMParser@@QAEXQBD@Z)
UdmDom_D.lib(UdmDom.obj) : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: long __thiscall
SAXParseException::getColumnNumber(void)const "
(__imp_?getColumnNumber@SAXParseException@@QBEJXZ)
UdmDom_D.lib(UdmDom.obj) : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: long __thiscall
SAXParseException::getLineNumber(void)const "
(__imp_?getLineNumber@SAXParseException@@QBEJXZ)
On Mon, 25 Nov 2002,
Thank you for your help,
Endre.
Zdenek Nemec wrote:
> Dear Endre
> I am affraid there is no more DOMString use XMLCh* instead backed by
> XMLString
>
> see
> http://xml.apache.org/xerces-c/program-dom.html#XMLCh
>
> and
> http://xml.apache.org/xerces-c/migrate_archive.html
> for migration archive
>
>
> zdenek
>
>
> ----- Original Message -----
> From: "Endre, MAGYARI" <en...@nextra.ro>
> To: <xe...@xml.apache.org>
> Sent: Monday, November 25, 2002 10:58 AM
> Subject: DOMString
>
>
> > Dear List,
> >
> >
> > I'm migrating a code from Xerces 1.5.1 to Xerces 2.1.x,
> > I can not see a DOMString definition in the new include files.
> > (there is, but only in deprecated directories)
> >
> > What to use instead of DomString? Is there a Migration guide
> > somewhere ?
> > Thank you,
> > Endre
> >
> >
> > ---------------------------------------------------------------------
> > 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
>
--
ing. dipl. ENDRE Magyari endre@nextra.ro
software engineer office:+40-66-171200
system administrator mobile:+40-94-794735
Nextra Ltd. Florilor no 28/1. RO-4100 Miercurea Ciuc. ROMANIA
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: DOMString
Posted by Zdenek Nemec <ze...@mapfactor.com>.
Dear Endre
I am affraid there is no more DOMString use XMLCh* instead backed by
XMLString
see
http://xml.apache.org/xerces-c/program-dom.html#XMLCh
and
http://xml.apache.org/xerces-c/migrate_archive.html
for migration archive
zdenek
----- Original Message -----
From: "Endre, MAGYARI" <en...@nextra.ro>
To: <xe...@xml.apache.org>
Sent: Monday, November 25, 2002 10:58 AM
Subject: DOMString
> Dear List,
>
>
> I'm migrating a code from Xerces 1.5.1 to Xerces 2.1.x,
> I can not see a DOMString definition in the new include files.
> (there is, but only in deprecated directories)
>
> What to use instead of DomString? Is there a Migration guide
> somewhere ?
> Thank you,
> Endre
>
>
> ---------------------------------------------------------------------
> 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