mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
avoid a couple of compiler warnings
This commit is contained in:
parent
b7f66a9dd3
commit
1cf38dee99
1 changed files with 3 additions and 2 deletions
|
@ -10,7 +10,6 @@
|
|||
int
|
||||
main(int argc, const char *argv[])
|
||||
{
|
||||
NSString *filePath;
|
||||
NSString *xmlDocStr;
|
||||
NSXMLDocument *xmlDoc;
|
||||
NSXMLElement *rootElement;
|
||||
|
@ -23,7 +22,9 @@ main(int argc, const char *argv[])
|
|||
SKIP("library built without libxml2")
|
||||
#else
|
||||
xmlDocStr = @"<?xml version=\"1.0\" encoding=\"utf-8\"?><env:Envelope xmlns:env=\"http://myurl/mypath/envelope\"><InvokeStampatore xmlns=\"http://tempuri.org/\"> <Flusso><IdFlusso>DF247309-57F8-4CDB-8711-6E9DB69BCE74</IdFlusso><Sorgente>FOX/EDI</Sorgente><DataRichiesta>2012-06-26T17:00:00.717</DataRichiesta><OraRichiesta>17:00</OraRichiesta> <NumeroDocumenti>10</NumeroDocumenti><Lettera><IdCrm>FakeField</IdCrm><TipoDocumento>1001</TipoDocumento><DataDocumento>2012-06-26T14:45:08.673Z</DataDocumento><Utente>FakeUser</Utente><Priorita>Normale</Priorita><PraticaName>FakeName</PraticaName><ContentHeader> <fieldList> <Field><name>Campaign.Name</name> <value>Campagna ENP</value></Field><Field><name>Cliente.Cap</name><value>37053</value></Field></fieldList></ContentHeader></Lettera></Flusso></InvokeStampatore></env:Envelope>";
|
||||
xmlDoc = [[NSXMLDocument alloc] initWithXMLString:xmlDocStr options:0 error:error];
|
||||
xmlDoc = [[NSXMLDocument alloc] initWithXMLString: xmlDocStr
|
||||
options: 0
|
||||
error: &error];
|
||||
|
||||
//NSLog(@"%@", xmlDoc);
|
||||
rootElement = [xmlDoc rootElement];
|
||||
|
|
Loading…
Reference in a new issue