Article View: fr.comp.text.xml
Article #8629xerces
From: Johan MOREAU
Date: Thu, 06 Sep 2001 17:32
Date: Thu, 06 Sep 2001 17:32
30 lines
1676 bytes
1676 bytes
Bonsoir,
J'ai un petit probl�me avec xerces et son module DOM.
En effet ma fonction de parse d'un fichier XML ne fonctionne que la premi�re
fois. A la deuxi�me createDocument de DOM_DOMImplementation plante m�chant !
voici un bout du code (rien de transcendant!):
try
{
XMLPlatformUtils::Initialize();
DOM_DOMImplementation impl;
DOM_Document doc = impl.createDocument(0,"ListPatient",
DOM_DocumentType);
DOM_Element rootElem = doc.getDocumentElement();
.....
XMLPlatformUtils::Terminate();
}
catch( .... )
{
}
KK1 a-t-il d�j� rencontr� le probl�me. (Je travaille sous Visual 6 et cette
fonction est dans une DLL).
Merci
Johan
Technical Details
Message-ID:
<9n8ftr$87k$1@news.u-strasbg.fr>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!enst!univ-angers.fr!news.unicaen.fr!univ-lille1.fr!news.u-strasbg.fr!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII X-Google-Thread: 114f60,d3ab97f617f24a2,start X-Google-Attributes: gid114f60,public X-Google-ArrivalTime: 2001-09-06 10:21:44 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!enst!univ-angers.fr!news.unicaen.fr!univ-lille1.fr!news.u-strasbg.fr!not-for-mail From: "Johan MOREAU" <Johan-Moreau@laposte.net> Newsgroups: fr.comp.text.xml Subject: xerces Date: Thu, 6 Sep 2001 19:32:00 +0200 Organization: CRC - Universite Louis Pasteur Strasbourg France Lines: 32 Message-ID: <9n8ftr$87k$1@news.u-strasbg.fr> NNTP-Posting-Host: ircad14.u-strasbg.fr X-Trace: news.u-strasbg.fr 999801595 8436 130.79.104.14 (6 Sep 2001 18:39:54 GMT) X-Complaints-To: usenet@u-strasbg.fr NNTP-Posting-Date: 6 Sep 2001 18:39:54 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2483.0001 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2483.0001