From d9b20c09488088f64da6d21bc300f27704a2e15f Mon Sep 17 00:00:00 2001 From: Adrien Prokopowicz Date: Mon, 30 Apr 2012 11:12:34 +0000 Subject: [PATCH] [GB.XML] * BUG : XmlDocument.Content (and similar) now works correctly. git-svn-id: svn://localhost/gambas/trunk@4697 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- gb.xml/src/document.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gb.xml/src/document.cpp b/gb.xml/src/document.cpp index 6789bf7e4..1378f35e7 100644 --- a/gb.xml/src/document.cpp +++ b/gb.xml/src/document.cpp @@ -18,7 +18,7 @@ wstring Document::Virtual::getContent(bool indent) } void Document::setContent(wstring str) -{/* +{ unsigned int i, pos = 0, len = 0, lines = 0; wstring prolog, s; for (i = 0; i < str.length(); i++)//On cherche le prologue XML @@ -75,7 +75,7 @@ void Document::setContent(wstring str) delete elements; if(!root) throw HTMLParseException(0, 0, L"somewhere", L"No valid root element found."); -*/ + } Element* Document::createElement(wstring tagName)