[xml] about the union operator in Xquery



How is the union operator in Xquery different from traditional set operator Union?

Thanks and Regards
-------------------------------------------------------------------
Failing to plan is planning to fail.
-------------------------------------------------------------------
 
Qiankun Zhao
http://www.cais.ntu.edu.sg/~qkzhao
Center of Advanced Information System,
Nanyang Technological University, 
Singapore, 639798
Tel: 65-67906333


-----Original Message-----
From: xml-admin gnome org [mailto:xml-admin gnome org] On Behalf Of xml-request gnome org
Sent: Thursday, January 29, 2004 6:25 AM
To: xml gnome org
Subject: xml digest, Vol 1 #1242 - 19 msgs


Send xml mailing list submissions to
        xml gnome org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.gnome.org/mailman/listinfo/xml
or, via email, send a message with subject or body 'help' to
        xml-request gnome org

You can reach the person managing the list at
        xml-admin gnome org

When replying, please edit your Subject line so it is more specific than "Re: Contents of xml digest..."


Today's Topics:

   1. RE: Problems again, functions that don't existe in HP-UX, u
       rgent (I k now that all say this) (Bjorn Reese)
   2. RE: Problems again, functions that don't existe in HP-UX, u
       rgent (I k now that all say this) (Pinho external infineon com)
   3. Re: Problems again, functions that don't existe in HP-UX, urgent
       (I k now that all say this) (Steve Williams)
   4. Re: Problems again, functions that don't existe in HP-UX, u
       rgent (I k now that all say this) (Steve Williams)
   5. Re: Problems again, functions that don't existe in HP-UX, urgent (I k now that all say this) (Daniel 
Veillard)
   6. Re: Problems again, functions that don't existe in HP-UX, u rgent (I k now that all say this) (Daniel 
Veillard)
   7. Re: Virus Emails (Igor Zlatkovic)
   8. Re: Problems again, functions that don't existe in HP-UX, u
       rgent (I k now that all say this) (Igor Zlatkovic)
   9. RE: Problems again, functions that don't existe in HP-UX, u
       rgent (I k now that all say this) (Pinho external infineon com)
  10. RE: Problems again, functions that don't existe in HP-UX, u
       rgent (I k now that all say this) (Pinho external infineon com)
  11. Re: Problems again, functions that don't existe in HP-UX, u
       rgent (I k now that all say this) (Igor Zlatkovic)

--__--__--

Message: 1
Subject: RE: [xml] Problems again, functions that don't existe in HP-UX, u
        rgent (I k now that all say this)
From: Bjorn Reese <breese mail1 stofanet dk>
To: Pinho external infineon com
Cc: xml gnome org
Organization: Hyperspace Academy
Date: 28 Jan 2004 18:35:27 +0100

On Wed, 2004-01-28 at 16:54, Pinho external infineon com wrote:
The problem are the dependencies of the HP-UX libxml2 version, I don't 
have permittion to install it, there must me a way to do this without 
using the functions that appear in the last version...

It is much easier to compile libxml yourself. If you build and use the static library, and link this library 
to your application, then you do not need to install it on your target machine. This ensures that your 
application uses the current version of libxml and completely ignore the version installed on the target 
machine by default.



--__--__--

Message: 2
From: Pinho external infineon com
To: veillard redhat com
Cc: steve rinax com, xml gnome org
Subject: RE: [xml] Problems again, functions that don't existe in HP-UX, u
         rgent (I k now that all say this)
Date: Wed, 28 Jan 2004 17:54:02 +0100

Sorry, I've never worked with HP-UX before, so any major compilation is kind of a mistery to me.

I made the code based on the API posted on your libxml2 site, to create a xmlDocPtr I used xmlReadDoc and 
xmlReadFile to create the pointer from a file or from a char* (Because this functions allowed me to set na 
option to ignore whitespaces). As this functions don't exist in HP-UX and I've never worked with HP-UX (a 
collegue of mine does the instalation) I was hopping that you or someone with more know how that me of the 
libxml2 could get me some way to create a xmlDocPtr without any ignorable whitespaces with the functions that 
are implemented in HP-UX.


Sorry about my lack of experience in libxml2 and if you could get me na alternative to the function I would 
be very thankful

Pinho

-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com] 
Sent: quarta-feira, 28 de Janeiro de 2004 16:24
To: Pinho Luis (IFPT IT External)
Cc: steve rinax com; xml gnome org
Subject: Re: [xml] Problems again, functions that don't existe in HP-UX, u rgent (I k now that all say this)


On Wed, Jan 28, 2004 at 04:54:19PM +0100, Pinho external infineon com wrote:
The problem are the dependencies of the HP-UX libxml2 version, I don't
have permittion to install it,

  I really don't know that there is an official HP-UX libxml2 version, I don't remember being contacted about 
this.

there must me a way to do this without using the
functions that appear in the last version...

  Since I do not understand what "do this" mean, I really can't see how I could give any hint.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM 
search engine http://rpmfind.net/

--__--__--

Message: 3
Date: Wed, 28 Jan 2004 08:50:14 -0700
From: Steve Williams <steve rinax com>
To: Pinho external infineon com
Cc: xml gnome org
Subject: Re: [xml] Problems again, functions that don't existe in HP-UX, urgent  (I k now that all say this)

Well, if you are compiling your source code with a C compiler, download 
the newer source code version of the xml library and compile it on 
HP-UX.  Seems like a no-brainer to me... you can even install the 
library in a private area that only your executable knows about if you 
are worried about breaking compatability with other apps that are using 
the library.  This is what I did on .. gasp.. SCO Unix.

Cheers,
Steve

Pinho external infineon com wrote:

Hi There,

I'm in a jam right now, first I used the xmlWriter API and it didn't 
existed in HP-UX release (changed the code to support other functions), 
and now it's reading the XML.

I was using the function xmlParseFile and xmlParseDoc, but then I 
noticed that some persons send me some xml files and strings with 
identation, so i searched the parser API and I used xmlReadDoc and 
xmlReadFile (worked great), at least until I found out that this 
functions don't exist in HP-UX version of libxml2, I tried other like 
xmlCreateDocParserCtxt, xmlCreateURLParserCtxt and xmlParseDocument, 
but his also don't exist for the latest release for HP-UX :(

How can I create a xmlDocPtr with no whitespaces, using the functions 
availble in HP-UX?

Please help, I've got until today to deliver this !?!?!?


Thanks,

Luís Pinho

P.S.: Daniel I don't know you but please help me on this one, I'm sure 
you already done something like this 
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/ xml gnome org
http://mail.gnome.org/mailman/listinfo/xml
 


--__--__--

Message: 4
Date: Wed, 28 Jan 2004 08:56:57 -0700
From: Steve Williams <steve rinax com>
To: Pinho external infineon com
Cc: xml gnome org
Subject: Re: [xml] Problems again, functions that don't existe in HP-UX, u  rgent (I k now that all say this)

But that's what I'm saying... you don't need to install it "on the 
system".  Just install it in the working directory where you are 
compling your application.  Then link your application against (even 
statically if you have to...) the library.

Maybe I'm missing something...

Cheers,
Steve

Pinho external infineon com wrote:

The problem are the dependencies of the HP-UX libxml2 version, I don't 
have permittion to install it, there must me a way to do this without 
using the functions that appear in the last version...

-----Original Message-----
From: Steve Williams [mailto:steve rinax com]
Sent: quarta-feira, 28 de Janeiro de 2004 15:50
To: Pinho external infineon com
Cc: xml gnome org
Subject: Re: [xml] Problems again, functions that don't existe in HP-UX,
urgent (I k now that all say this)


Well, if you are compiling your source code with a C compiler, download
the newer source code version of the xml library and compile it on 
HP-UX.  Seems like a no-brainer to me... you can even install the 
library in a private area that only your executable knows about if you 
are worried about breaking compatability with other apps that are using 
the library.  This is what I did on .. gasp.. SCO Unix.

Cheers,
Steve

Pinho external infineon com wrote:

 

Hi There,

I'm in a jam right now, first I used the xmlWriter API and it didn't
existed in HP-UX release (changed the code to support other functions), 
and now it's reading the XML.

I was using the function xmlParseFile and xmlParseDoc, but then I
noticed that some persons send me some xml files and strings with 
identation, so i searched the parser API and I used xmlReadDoc and 
xmlReadFile (worked great), at least until I found out that this 
functions don't exist in HP-UX version of libxml2, I tried other like 
xmlCreateDocParserCtxt, xmlCreateURLParserCtxt and xmlParseDocument, 
but his also don't exist for the latest release for HP-UX :(

How can I create a xmlDocPtr with no whitespaces, using the functions
availble in HP-UX?

Please help, I've got until today to deliver this !?!?!?


Thanks,

Luís Pinho

P.S.: Daniel I don't know you but please help me on this one, I'm sure
you already done something like this 
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/ xml gnome org
http://mail.gnome.org/mailman/listinfo/xml

   


 


--__--__--

Message: 5
Date: Wed, 28 Jan 2004 11:02:40 -0500
From: Daniel Veillard <veillard redhat com>
To: Pinho external infineon com
Cc: xml gnome org
Subject: Re: [xml] Problems again, functions that don't existe in HP-UX, urgent (I k now that all say this)
Reply-To: veillard redhat com

On Wed, Jan 28, 2004 at 04:31:13PM +0100, Pinho external infineon com wrote:
version of libxml2, I tried other like xmlCreateDocParserCtxt, 
xmlCreateURLParserCtxt and xmlParseDocument, but his also don't exist 
for the latest release for HP-UX :(

  This was said already. THERE IS NO HP-UX RELEASE FROM THE PROJECT. Simply grab the sources of the latest 
release and recompile.

Please help, I've got until today to deliver this !?!?!?

  Well, if you don't listen to what we say, it will take forever until you get the information.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM 
search engine http://rpmfind.net/

--__--__--

Message: 6
Date: Wed, 28 Jan 2004 13:16:23 -0500
From: Daniel Veillard <veillard redhat com>
To: Pinho external infineon com
Cc: steve rinax com, xml gnome org
Subject: Re: [xml] Problems again, functions that don't existe in HP-UX, u rgent (I k now that all say this)
Reply-To: veillard redhat com

On Wed, Jan 28, 2004 at 05:54:02PM +0100, Pinho external infineon com wrote:
Sorry, I've never worked with HP-UX before, so any major compilation 
is kind of a mistery to me.

  ./configure ; make ; make install 

I made the code based on the API posted on your libxml2 site, to 
create a xmlDocPtr I used xmlReadDoc and xmlReadFile to create the 
pointer from a file or from a char* (Because this functions allowed me 
to set na option to ignore whitespaces). As this functions don't exist 
in HP-UX and I've never worked with HP-UX (a collegue of mine does the 
instalation) I was hopping that you or someone with more know how that 
me of the libxml2 could get me some way to create a xmlDocPtr without 
any ignorable whitespaces with the functions that are implemented in 
HP-UX.


Sorry about my lack of experience in libxml2 and if you could get me 
na alternative to the function I would be very thankful

  use xmlDocPtr xmlParseMemory(const char *buffer, int size);
  http://xmlsoft.org/html/libxml-parser.html#xmlParseMemory

and to change the parser behaviour to not build blanks nodes, see the FAQ 
http://xmlsoft.org/FAQ.html#Developer
 item #2  http://xmlsoft.org/html/libxml-parser.html#xmlKeepBlanksDefault

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM 
search engine http://rpmfind.net/

--__--__--

Message: 7
Date: Wed, 28 Jan 2004 21:54:13 +0100
From: Igor Zlatkovic <igor zlatkovic com>
To: Paul Robert Hayes <paulroberthayes earthlink net>
Cc: xml gnome org
Subject: Re: [xml] Virus Emails

Paul Robert Hayes wrote:
I, too, am concerned about the longer term growing virus problems
because I am seeing them from other list servers besides XML.

What virus protection software is used on the servers?  Any?  Or is it
just filters for headers, etc.  Is this something that GNU should, 
could,would provide as a service?  Are the opensource (A slew are listed

GNU (I assume you mean FSF) has obviously nothing to do with lists on 
gnome.org. It is a different gang.

on freshmeat.net) virus protections or commercial (Sophos, et cetera)
being utilized on the server?  What is gnome.org's direction in 
implementing longer term solutions to virus protection?  I think having 
a slew of useless emails coming from the @gnome.org doesn't look good 
(even if it is not their fault).  Yes, I know there are no solutions 
contained herein, however perhaps we could talk through to a solution 
workable for everyone (well most people).

A MTA responsible for this mailing list is likely responsible for other 
gnome.org mailing lists. I doubt that this list is treated in any 
special way. The setup of that MTA, or it's use of virus scanners, is 
better discussed elsewhere. That not because it is off-topic, it does 
concern us all, but because all gnome.org lists are equally involved. 
That other place, that "elsewhere", is where administrators of those 
mail servers can hear you. There will be more information there.

Just don't ask me where that place is. ;-)

Some of these questions perhaps should not even be considered in the
open email forum.  However, a smaller group may be able to address the 
problems and help Daniel Veillard out.

The best way to help Daniel is to take care of yourself. If he knows 
that his subscribers have secured themselves, then he doesn't need to 
worry about being blamed for someone's grief.

Everyone must realise that mailing lists are not a secure medium. The 
subscription system fights spam successfully, but has little chance 
against self-spreading worms. Because it was never designed for a battle 
against its own subscribers.

The excellent Bruce Schneier's "Applied Cryptography" was for 
professionals with high security demands at the time it was written. 
Today it seems our ten year old kids must study its security aspects 
before they can play with the home computer without suffering damage 
from the faceless.

Simply put, protect yourself. Build your walls, but never believe you 
are safe. Rather assume that your walls will fall sooner or later and 
take care to detect the breach and minimise the damage. With that, not 
to mention your own benefit, you will give Daniel and every other list 
maintainer more help than they ever hoped for.

That being said, I would gladly address the problems and discuss about 
the ways to make the list traffic more secure. I have some ideas, even 
if they are a bit radical. But I do think this duscussion should not be 
held on this mailing list.

Ciao,
Igor

--__--__--

Message: 8
Date: Wed, 28 Jan 2004 22:08:00 +0100
From: Igor Zlatkovic <igor zlatkovic com>
To: Pinho external infineon com
Cc: veillard redhat com, steve rinax com, xml gnome org
Subject: Re: [xml] Problems again, functions that don't existe in HP-UX, u
  rgent (I k now that all say this)

Pinho external infineon com wrote:
Sorry, I've never worked with HP-UX before, so any major compilation 
is kind of a mistery to me.

I made the code based on the API posted on your libxml2 site, to 
create a xmlDocPtr I used xmlReadDoc and xmlReadFile to create the 
pointer from a file or from a char* (Because this functions allowed me 
to set na option to ignore whitespaces). As this functions don't exist 
in HP-UX and I've never worked with HP-UX (a collegue of mine does the 
instalation) I was hopping that you or someone with more know how that 
me of the libxml2 could get me some way to create a xmlDocPtr without 
any ignorable whitespaces with the functions that are implemented in 
HP-UX.


Sorry about my lack of experience in libxml2 and if you could get me 
na alternative to the function I would be very thankful

But... if you didn't compile libxml2 and installed it on the machine you 
are working on, which library are you using? HP doesn't deliver libxml2 
preinstalled on their PA-RISC systems. Someone must have installed it at 
some point, perhaps as a part of something else, GNOME perhaps?

With that, it can well be that you are trying to use the old libxml 
version 1.x.x which somehow ended up on the system. That won't work. Can 
you do a xmllint --version, what does it say?

There is nothing specific to HP-UX in libxml2. It has the same functions 
on all platforms. Follow the advices given to you so far. Install the 
recent version in your home directory, no privileges needed for that, 
and link your program using the static libxml2.a.

Hmm... by the way... if you don't make your schedule, does it leave a 
free place for an external at Infineon? :-) :-)  Hm... shouldn't have 
said that. I'll go silent :-)

Ciao,
Igor

--__--__--

Message: 9
From: Pinho external infineon com
To: igor zlatkovic com
Cc: veillard redhat com, steve rinax com, xml gnome org
Subject: RE: [xml] Problems again, functions that don't existe in HP-UX, u
         rgent (I k now that all say this)
Date: Wed, 28 Jan 2004 22:18:05 +0100

We have a manager to that machine, he's the only one with permitions to install what we want, but when I 
asked him to compile the latest version of libxml2 he didn't wanted to, he didn't want to install all the 
dependencies required...

Daniel Veillard already gave me some clues, I will follow them to see the results

About the work infineon, just try it :)

-----Original Message-----
From: Igor Zlatkovic [mailto:igor zlatkovic com] 
Sent: quarta-feira, 28 de Janeiro de 2004 21:08
To: Pinho Luis (IFPT IT External)
Cc: veillard redhat com; steve rinax com; xml gnome org
Subject: Re: [xml] Problems again, functions that don't existe in HP-UX, u rgent (I k now that all say this)


Pinho external infineon com wrote:
Sorry, I've never worked with HP-UX before, so any major compilation
is kind of a mistery to me.

I made the code based on the API posted on your libxml2 site, to
create a xmlDocPtr I used xmlReadDoc and xmlReadFile to create the 
pointer from a file or from a char* (Because this functions allowed me 
to set na option to ignore whitespaces). As this functions don't exist 
in HP-UX and I've never worked with HP-UX (a collegue of mine does the 
instalation) I was hopping that you or someone with more know how that 
me of the libxml2 could get me some way to create a xmlDocPtr without 
any ignorable whitespaces with the functions that are implemented in 
HP-UX.


Sorry about my lack of experience in libxml2 and if you could get me
na alternative to the function I would be very thankful

But... if you didn't compile libxml2 and installed it on the machine you 
are working on, which library are you using? HP doesn't deliver libxml2 
preinstalled on their PA-RISC systems. Someone must have installed it at 
some point, perhaps as a part of something else, GNOME perhaps?

With that, it can well be that you are trying to use the old libxml 
version 1.x.x which somehow ended up on the system. That won't work. Can 
you do a xmllint --version, what does it say?

There is nothing specific to HP-UX in libxml2. It has the same functions 
on all platforms. Follow the advices given to you so far. Install the 
recent version in your home directory, no privileges needed for that, 
and link your program using the static libxml2.a.

Hmm... by the way... if you don't make your schedule, does it leave a 
free place for an external at Infineon? :-) :-)  Hm... shouldn't have 
said that. I'll go silent :-)

Ciao,
Igor

--__--__--

Message: 10
From: Pinho external infineon com
To: veillard redhat com
Cc: steve rinax com, xml gnome org
Subject: RE: [xml] Problems again, functions that don't existe in HP-UX, u
         rgent (I k now that all say this)
Date: Wed, 28 Jan 2004 22:25:28 +0100

Hi Daniel,

 First of all, thank you for all the support, I know I've been quite a = drag.

 I already tried before to use xmlKeepBlanksDefault(0) but with no = efective results but I don't use 
xmlParseMemory, I use xmlParseFile and = xmlParseDoc, is the effect any diferent, I though that they all 
would have the same behavior.


[Code]

        xmlDocPtr doc;
        doc =3D xmlParseFile(xmlFileName);
        xmlKeepBlanksDefault(0);

[/Code]

Thanks again for the support,

Lu=EDs Pinho
-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com]=20
Sent: quarta-feira, 28 de Janeiro de 2004 18:16
To: Pinho Luis (IFPT IT External)
Cc: steve rinax com; xml gnome org
Subject: Re: [xml] Problems again, functions that don't existe in = HP-UX, u rgent (I k now that all say this)


On Wed, Jan 28, 2004 at 05:54:02PM +0100, Pinho external infineon com =
wrote:
Sorry, I've never worked with HP-UX before, so any major 
compilation=20 is kind of a mistery to me.

  ./configure ; make ; make install=20

I made the code based on the API posted on your libxml2 site, to=20 
create a xmlDocPtr I used xmlReadDoc and xmlReadFile to create the=20 
pointer from a file or from a char* (Because this functions allowed =
me=20
to set na option to ignore whitespaces). As this functions don't =
exist=20
in HP-UX and I've never worked with HP-UX (a collegue of mine does =
the=20
instalation) I was hopping that you or someone with more know how =
that=20
me of the libxml2 could get me some way to create a xmlDocPtr without 
=

any ignorable whitespaces with the functions that are implemented 
in=20  HP-UX. =20
=20
Sorry about my lack of experience in libxml2 and if you could get me=20
na alternative to the function I would be very thankful

  use xmlDocPtr xmlParseMemory(const char *buffer, int size);
  http://xmlsoft.org/html/libxml-parser.html#xmlParseMemory

and to change the parser behaviour to not build blanks nodes, see the = FAQ 
http://xmlsoft.org/FAQ.html#Developer
 item #2  = http://xmlsoft.org/html/libxml-parser.html#xmlKeepBlanksDefault

Daniel

--=20
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  = http://xmlsoft.org/ http://veillard.com/ | Rpmfind 
RPM search engine http://rpmfind.net/

--__--__--

Message: 11
Date: Wed, 28 Jan 2004 23:10:09 +0100
From: Igor Zlatkovic <igor zlatkovic com>
To: Pinho external infineon com
Cc: veillard redhat com, steve rinax com, xml gnome org
Subject: Re: [xml] Problems again, functions that don't existe in HP-UX, u
  rgent (I k now that all say this)

Pinho external infineon com wrote:
We have a manager to that machine, he's the only one with permitions 
to install what we want, but when I asked him to compile the latest 
version of libxml2 he didn't wanted to, he didn't want to install all 
the dependencies required...

You don't seem to listen. :-) You were advised to compile and install it 
yourself, using your home directory where you certainly have write 
access. You don't run HP-UX from a CD-ROM. Your machine can have 
managers galore, you can always install things in your home directory. 
In fact, there is nothing your manager can do to prevent it... hm, 
unless he told you that there will be a free place for an external 
should you try to install something :-)

And what for dependencies? Libxml depends on nothing but the C runtime. 
Iconv and zlib you can configure away.

Daniel Veillard already gave me some clues, I will follow them to see 
the results

Yes, it's a good idea to follow Daniel's advice on libxml.

About the work infineon, just try it :)

I just lost all interest. No way. Having a manager for a workstation... 
no day would be my day. :-)

Ciao,
Igor


--__--__--

_______________________________________________
xml mailing list
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml


End of xml Digest



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]