[xsd-users] support needed
A. Keutterling, GEOSYSTEMS
a.keutterling at geosystems.de
Thu Jun 28 06:10:48 EDT 2007
Hello Support team,
Currently I try out your XML-binding mechanism. I am really surprised
how simple it appears to read a xml file. On the other hand it seems to
me I have forgotten something in my workflow. Can you show me what's
missing. Here is my code fragment:
void DialogController::Test_ReadProject()
{
std::ifstream ifs
("D:/IDK/designs/INTERFEROMETRY/XML/Beispiel_validiert.xml");
auto_ptr<ORIDATA_ID> ptr = ORIDATA_ID (ifs);
};
All I did in my VS project was linking against xerces-c_2D.lib. The
error message is
o:\sources_imagine\interferometry\dialogController.cpp(1297): error
C2065: 'ORIDATA_ID' : undeclared identifier
o:\sources_imagine\interferometry\dialogController.cpp(1297): error
C2955: 'std::auto_ptr' : use of class template requires template
argument list
C:\Programme\Microsoft Visual Studio .NET
2003\Vc7\include\memory(518) : see declaration of 'std::auto_ptr'
o:\sources_imagine\interferometry\dialogController.cpp(1297): error
C3861: 'ORIDATA_ID': identifier not found, even with argument-dependent
lookup
o:\sources_imagine\interferometry\dialogController.cpp(1297): error
C2514: 'std::auto_ptr' : class has no constructors
C:\Programme\Microsoft Visual Studio .NET
2003\Vc7\include\memory(518) : see declaration of 'std::auto_ptr'
o:\sources_imagine\interferometry\dialogController.cpp(1297): error
C2262: 'ptr' : cannot be destroyed
How can I make the data binding compiler run?
Best regards,
Andreas
--
Andreas Keutterling
Software-Entwicklung
Software Development
----------------------------------------------------------------------
GEOSYSTEMS GmbH
Riesstraße 10, 82110 Germering, GERMANY
www.geosystems.de
E: a.keutterling at geosystems.de
T: +49 - (0)89 - 89 43 43 0 (Ext. 19)
F: +49 - (0)89 - 89 43 43 99
----------------------------------------------------------------------
Abonnieren Sie unseren Newsletter, um immer auf dem Laufenden zu sein:
www.geosystems.de/newsletter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Beispiel_validiert.xml
Type: text/xml
Size: 4381 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20070628/3b7a7434/Beispiel_validiert.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Beispiel_validiert.xsd
Type: text/xml
Size: 11360 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20070628/3b7a7434/Beispiel_validiert-0001.bin
More information about the xsd-users
mailing list