Re: [xml] build on HP-UX with GCC fails with Compiler not ANSI compliant

2007-11-09 Thread Rick Jones
the bundled (there to regen kernels) compiler isn't ANSI compliant. You get that with the unbundled compiler, which if you can swing the price I would suggest getting, but then I kind of have to suggest that :) rick jones ___ xml mailing list, project

Re: [xml] build on HP-UX with GCC fails with Compiler not ANSI compliant

2007-11-09 Thread Rick Jones
the configure script with something like CC=gcc: CC=gcc ./configure and see if that works-around the problem. rick jones ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

Re: [xml] build on HP-UX with GCC fails with Compiler not ANSI compliant

2007-11-09 Thread Rick Jones
could try setting it to some completely bogus value and if configure still chugs along that would confirm it. rick jones ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

Re: [xml] build on HP-UX with GCC fails with Compiler not ANSI compliant

2007-11-09 Thread Rick Jones
compliant R9MACG01:/mediacion/estadisticas/byron/libxml2-2.6.30 # Should this be raised as a bug? I'll leave that to others to decide. rick jones ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman

Re: [xml] build on HP-UX with GCC fails with Compiler notANSI compliant

2007-11-09 Thread Rick Jones
. You might want to compare those bits with the bits you can get directly from http://www.xmlsoft.org/ rick jones ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

Re: [xml] XML for config files

2007-05-21 Thread Rick Jones
- is there a simple text file analogue? rick jones ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

Re: [xml] xmlValidateOneElement - will fill-in defaults yes?

2007-04-24 Thread Rick Jones
a generic editor is a daunting task, believe me ! It certainly seems that way :) I _can_ count on requiring someone to make suitable mods to a DTD if they extend my netperf markup language (as it were) so I guess that helps a little. rick jones ___ xml

[xml] xmlValidateOneElement - will fill-in defaults yes?

2007-04-23 Thread Rick Jones
, will all the defaults from the DTD get filled-in automagically? rick jones ultimately, I'll want to do something similar involving a GTK gui but one step at a time... ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http

Re: [xml] Broken link on web page

2007-03-13 Thread Rick Jones
problem? If I search for xmlparsememory from: http://xmlsoft.org/ and the main menu, one of the links it gives is: http://xmlsoft.org/libxml-parser.html which also triggers a not found rick jones grubbing around to (re)learn the difference between a doc pointer and a node pointer

[xml] xmlDocDumpMemory to my own buffer?

2006-03-24 Thread Rick Jones
_not_ want to make two separate send calls - when the data is logically associated as it is here it is an application bug to do so (IMO) and only invites trouble with performance. rick jones ___ xml mailing list, project page http://xmlsoft.org/ xml

Re: [xml] xmlDocDumpMemory to my own buffer?

2006-03-24 Thread Rick Jones
Daniel Veillard wrote: On Fri, Mar 24, 2006 at 12:53:04PM -0800, Rick Jones wrote: Is there a call akin to xmlDocDumpMemory where I can supply the buffer? No, for the simple reason that we can't guess in advance how much memory a document may take. I was willing to take a guess

Re: [xml] more questions on catalogs

2006-02-24 Thread Rick Jones
Chris Wareham wrote: Rick Jones wrote: I've not looked through the other patches, but I don't think any changes that are made to xml2-config have to do with XML catalog support. Those kind of config scripts are normally just patched to add in things like default linker paths. Programs don't

Re: [xml] more questions on catalogs

2006-02-23 Thread Rick Jones
Chris Wareham wrote: Rick Jones wrote: All the more reason to have libxml2 installation create the default catalog. Even if the libxml2 distribution is made to do this, many package systems will patch the source to prevent it doing so. Using NetBSD's pkgsrc for example, packages

Re: [xml] more questions on catalogs

2006-02-23 Thread Rick Jones
Are they then setting the magic environment variable in /etc/profile or whatnot? rick jones No, patching the source before building it: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/textproc/libxml2/patches/patch-ac?rev=1.6content-type=text/x-cvsweb-markup So, how then does NetBSD inform

Re: [xml] HP-UX compilation warnings for 2.6.23

2006-02-23 Thread Rick Jones
-lpthread -lm creating tree2 rick jones ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

Re: [xml] more questions on catalogs

2006-02-23 Thread Rick Jones
catalog is, the library is configured to know when it's built. Programs - or more specifically, installation mechanisms for those programs - certainly do need to know where the default catalog resides. rick jones ___ xml mailing list, project page http

Re: [xml] HP-UX compilation warnings for 2.6.23

2006-02-23 Thread Rick Jones
./include -I./include -D_REENTRANT -g -c xmlmodule.c xmlmodule.c, line 279: warning #2550-D: parameter handle was set but never used xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) ^ :) rick jones

Re: [xml] HP-UX compilation warnings for 2.6.23

2006-02-23 Thread Rick Jones
... rick jones ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

Re: [xml] more questions on catalogs

2006-02-22 Thread Rick Jones
to their descriptions. True, I take patches :-) or you can bugzilla. Touche :) rick jones on list so no need for cc Daniel ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

Re: [xml] more questions on catalogs

2006-02-22 Thread Rick Jones
the master catalog will be /etc/xml/catalog unless the system software have been installed differently. how does the system software inform libxml2 that the master catalog is somewhere else - or are all the applcations on the system supposed to start setting environment varibles? I'm

Re: [xml] XML_CATALOG_DEBUG enhancement suggestion and yet another question

2006-02-22 Thread Rick Jones
Daniel Veillard wrote: On Tue, Feb 21, 2006 at 05:56:27PM -0800, Rick Jones wrote: while I've been blundering through bootstrapping /etc/xml/catalog, I've come across something that may be a useful enhancement. If one sets XML_CATALOG_DEBUG, the output looks rather like: # xmllint

Re: [xml] more questions on catalogs

2006-02-22 Thread Rick Jones
:) rick jones BTW, the typscript with the 2.6.23 compiation warnings tripped over the 40K limit (it was about 48K) so is sitting waiting for moderator action. ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org

[xml] HP-UX compilation warnings for 2.6.23

2006-02-22 Thread Rick Jones
Attached is the typescript for a compiation of vanilla 2.6.23 on an HP-UX 11.23 Itanium system with the HP compiler (some version or other :) Script started on Wed Feb 22 11:08:39 2006 # make make all-recursive Making all in include No suffix list. Making all in libxml No suffix list.

[xml] more questions on catalogs

2006-02-21 Thread Rick Jones
for catalogs. I would like to be able to simply add my catalog entry to the system's catalog wherever that might already be. rick jones probably far enough along that balsa clue bats could replace the ones from nerf :) not that I plan on using the catalog manipulation routines, but it might

[xml] XML_CATALOG_DEBUG enhancement suggestion and yet another question

2006-02-21 Thread Rick Jones
, or is this a bug in catalog processing? rick jones rick jones ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

[xml] where is the format of PUBLIC defined?

2006-02-17 Thread Rick Jones
be most appreciated, rick jones ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

Re: [xml] misc warnings compiling libxml2-2.6.22 (cvs snapshot dloaded 2005/12/09) with HP aC++/ANSI C B3910B A.06.05 [Jul 25 2005]

2005-12-12 Thread Rick Jones
configure code, is not much better... I have fixed all okay'ed, and will commit as soon as I verify all regression tests still pass as expected. sounds good. rick jones ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http

[xml] misc warnings compiling libxml2-2.6.22 (cvs snapshot dloaded 2005/12/09) with HP aC++/ANSI C B3910B A.06.05 [Jul 25 2005]

2005-12-09 Thread Rick Jones
Out of curiousity I downloaded the cvs snapshot on 2005-12-09 which expanded to 2.6.22, and tried compiling it on an HP-UX 11.23 Itanium (ia64) system with HP aC++/ANSI C B3910B A.06.05 [Jul 25 2005]. A few pseudo-random observations/questions... This one may have been overly picky on the

Re: [xml] misc warnings compiling libxml2-2.6.22 (cvs snapshot dloaded 2005/12/09) with HP aC++/ANSI C B3910B A.06.05 [Jul 25 2005]

2005-12-09 Thread Rick Jones
Rick Jones wrote: (I'm not sure if the -Wp,-H3 stuff is required on the ia64 platform, I have a question in to a compiler contact on that one) My compiler contact has stated that the -Wp,-H3 bit is only required on IPF/ia64 if one uses +legacy_cpp, so this in configure: if test

Re: [xml] libxml.3 rewording

2005-10-28 Thread Rick Jones
I'll second what Daniel said - for example, there are enough things using libtool now that there are shared libs on HP-UX with the .so extension. For IA64, yes. However, not for PA-RISC. Could be, I've only been playing on IA64 recently - netperf4 stuff - but then it all gets abstracted

Re: [xml] another of those fun SEGV's in xmlFreeDoc?

2005-10-27 Thread Rick Jones
At this point what would be next steps? Gentle, specific RTFM pointers would be fine. Are you moving parts of trees between documents ? If yes then you're probably having dictionaries pointers problems. When loading documents with xmlRead... use the XML_PARSE_NODICT option. I don't

Re: [xml] another of those fun SEGV's in xmlFreeDoc?

2005-10-27 Thread Rick Jones
Daniel Veillard wrote: On Thu, Oct 27, 2005 at 09:14:15AM -0700, Rick Jones wrote: if ((*message = xmlParseMemory(message_base,message_len)) != NULL) { Hum, okay , could try to use xmlReadMemory and check if problem persists What sematic differences are there? Does xlmReadMemory do

Re: [xml] another of those fun SEGV's in xmlFreeDoc?

2005-10-27 Thread Rick Jones
What sematic differences are there? Does xlmReadMemory do validation and attribute loading from the DTD (more that I left-out originally, sorry - i'm not the only one contributing to this code and they went down a path of getting default values from a DTD) no. It's the new parser API, the

[xml] another of those fun SEGV's in xmlFreeDoc?

2005-10-26 Thread Rick Jones
to an essense. No idea if I would be successful there or not, but if need be I can try. sincerely, rick jones ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

[xml] minor typo on the encodings web page

2005-10-13 Thread Rick Jones
While reading the page on encodings - http://www.xmlsoft.org/encoding.html - I came across a bit that reads informations about it's encoding are saved and I suspect it should read information about it's encoding is saved instead. rick jones ___ xml

[xml] gethrtime and *Timer

2005-03-15 Thread Rick Jones
farther along with netperf4 I may see if gettimeofday() overhead is indeed an issue. sincerely, rick jones ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

[xml] minor declaration fixes for xpath2.c and xmlregexp.c in 2.6.17

2005-03-10 Thread Rick Jones
call for HP-UX IPF binaries - dlopen et al being the calls used. Dlopen et al are also available on later HP-UX PA-RISC releases, so it may be a matter of tweaking some configure stuff. rick jones ___ xml mailing list, project page http

[xml] Probably should not look for/use shl_load if dlopen is found (2.6.17)

2005-03-10 Thread Rick Jones
of the compilation errors on 11.23 IPF, and the code still compiles happily on 11.11 PA-RISC. I do not as yet have access to an 11.23 PA_RISC system, but I suspect it would still be happy there. This is all a default 32-bit compilation. rick jones

Re: [xml] Probably should not look for/use shl_load if dlopen is found (2.6.17)

2005-03-10 Thread Rick Jones
briefly) and some look like the compiler being overly paranoid, but some may be of interest. Would you like to see the entire list (as an attachment of course :)? rick jones ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http

Re: [xml] Memory not going away..

2005-03-09 Thread Rick Jones
Coincidentally, if I have system with 3 GB of RAM, and I allocate and free 3GB of ram in my process, but then do not exit.. any other processes would be forced into swap waiting for my process to complete and free up resources (namely, 3GB of RAM). In Linux, calls to free in the process return

Re: [xml] Memory not going away..

2005-03-08 Thread Rick Jones
. That is not to say that an OS/runtime might choose to have a way to give the memory back to the kernel before the process terminates. Not clear how many actually do or if it would be a win. Either mechanism can be considered correct. rick jones