Re: [xml] Porting libxml2-2.6.19 On symbian

2005-05-25 Thread Bjorn Reese
Micky MeNeZeS wrote: I trying to port libxml2 on Symbian platform. I do not have float.h. I also want xpath. xpath.c includes trionan.c. trionan.c includes float.h. Although Symbian supports part of the C math library, I think that we should concentrate on the native math library: http://www.

Re: [xml] Question about 'union' types in xmlSchemas

2005-05-25 Thread Kasimier Buchcik
Hi, On Wed, 2005-05-25 at 18:16 +0200, GUY Fabrice wrote: > Hi, > > I have this schema : > > http://www.w3.org/2001/XMLSchema";> > > > > > > > > > > > > > > >

Re: [xml] redicting parts of trees

2005-05-25 Thread Kasimier Buchcik
Hi, On Wed, 2005-05-25 at 18:16 +0200, Kasimier Buchcik wrote: > Hi, > > On Wed, 2005-05-25 at 18:09 +0200, Kasimier Buchcik wrote: > > > > xmlns:default1="urn:test:AAA" > > xmlns:default2="urn:test:BBB"/> > > > > > > > > Correction, this should be: > > > > > Damn :

[xml] Question about 'union' types in xmlSchemas

2005-05-25 Thread GUY Fabrice
Hi, I have this schema : http://www.w3.org/2001/XMLSchema";> and this simple xml file : 5 This xml file validates using xmllint (wit

Re: [xml] redicting parts of trees

2005-05-25 Thread Kasimier Buchcik
Hi, On Wed, 2005-05-25 at 18:09 +0200, Kasimier Buchcik wrote: > xmlns:default1="urn:test:AAA" > xmlns:default2="urn:test:BBB"/> > > > Correction, this should be: Kasimier ___ xml mailing list, project page http://xmlsoft.

Re: [xml] redicting parts of trees

2005-05-25 Thread Kasimier Buchcik
Hi, On Tue, 2005-05-24 at 15:15 +0200, Kasimier Buchcik wrote: > Hi, I would like to make a change to xmlReconciliateNs(), while fixing it. Current behaviour/errors: 1) It does not find already existent ns-decls in @root's descendants; this can lead to shadowed prefixes. 2) Due to a speed-up

Re: [xml] how do I...

2005-05-25 Thread Rich Salz
But a parser will not do this a parser MUST report an error and abort at that point if it finds an element there it's the spec. The parser must error, so something else must detect the end of the root and then find the next document, basically you need to rewrite a second non-conformant parse

Re: [xml] how do I...

2005-05-25 Thread Daniel Veillard
On Wed, May 25, 2005 at 09:43:50AM -0500, Eric Haszlakiewicz wrote: > On Tue, May 24, 2005 at 06:01:00PM -0400, Daniel Veillard wrote: > > By the definition of XML this is not possible. Packing multiple > > XML document on a single stream without out of band markers is a frequent > > but huge des

Re: [xml] how do I...

2005-05-25 Thread Eric Haszlakiewicz
On Tue, May 24, 2005 at 06:01:00PM -0400, Daniel Veillard wrote: > By the definition of XML this is not possible. Packing multiple > XML document on a single stream without out of band markers is a frequent > but huge design flaws. The demonstration is obvious for anybody who > read the 2 first p

Re: [xml] Problems with xmlChar* as a key in STL Map

2005-05-25 Thread Murray Cumming
On Wed, 2005-05-25 at 09:12 +0300, Antti Mäkinen wrote: [snip] > when I use the acquired xmlChar* as a key in a STL map [snip] This is a fairly basic C/C++ mistake. It will probably be easier for you if you use the C++ interface: libxml++ http://libxmlplusplus.sourceforge.net -- Murray Cumming

Re: [xml] Problems with xmlChar* as a key in STL Map

2005-05-25 Thread jwert
Here is the problem, by default the STL libraries use the operator== method for any given comparison. So if you try to use a map like this: map my_map; it will compare the pointers themselves, and not the contents of the pointers. Its like saying: xmlChar *a, *b; if( a==b ) { // do someth

Fw: [xml] Porting libxml2-2.6.19 On symbian

2005-05-25 Thread Micky MeNeZeS
- Original Message - From: "Micky MeNeZeS" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 25, 2005 3:57 PM Subject: Re: [xml] Porting libxml2-2.6.19 On symbian > Hi, > Thanks for your information. > But then, do I have to write float.h for symbian ? > cause, as seen fro

[xml] more an the "ampersand problem"

2005-05-25 Thread oliverst
OK, I tried something different and here the code of what I tried: { const char* str = "<>\"'&"; xmlNodePtr node = xmlNewNode(NULL, BAD_CAST "test"); if( node ) { xmlNodeSetContent(node, BAD_CAST str);

Re: [xml] Porting libxml2-2.6.19 On symbian

2005-05-25 Thread Daniel Veillard
On Wed, May 25, 2005 at 01:59:06PM +0530, Micky MeNeZeS wrote: > Hi, > > I trying to port libxml2 on Symbian platform. I do not have float.h. > I also want xpath. xpath.c includes trionan.c. trionan.c includes float.h. > So it is running into a mess. > I am building "WITHOUT_TRIO". > > Please gui

[xml] Porting libxml2-2.6.19 On symbian

2005-05-25 Thread Micky MeNeZeS
Hi, I trying to port libxml2 on Symbian platform. I do not have float.h. I also want xpath. xpath.c includes trionan.c. trionan.c includes float.h. So it is running into a mess. I am building "WITHOUT_TRIO". Please guide me. Thanks & Regards, Micky _

Re: [xml] Problems with xmlChar* as a key in STL Map

2005-05-25 Thread Daniel Veillard
On Wed, May 25, 2005 at 09:12:08AM +0300, Antti Mäkinen wrote: > If I compare the the acquired xmlChar* with another xmlChar*, which is > created like... > > xmlChar* test = BAD_CAST "and"; > > ...with xmlStrcmp, the result is that the strings are the same. This test > string I can use for s

Re: [xml] isoLat1toUTF8 conv error

2005-05-25 Thread Remy HAREL
Thank you very much. There was some mistakes in the code, you and Daniel found it. It's right that I could have read more carefully the documentation before posting this mail. Regards, _ Remy HAREL -Teamlog| _