Re: [xml] Problem with xsltParseStylesheetImportedDoc /xsltGatherNamespaces

2006-08-30 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher R. Palmer Hi, I just upgraded to libxslt-1.1.17 and found what appears to be a bug in the the stylesheet creation. In version 1.1.15, the code in

Re: [xml] Line ending style on Windows

2006-08-21 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Veillard Sent: Monday, August 21, 2006 8:32 PM To: Rob Laveaux Cc: xml@gnome.org Subject: Re: [xml] Line ending style on Windows On Mon, Aug 21, 2006 at 07:22:12PM +0200, Rob Laveaux

[xml] Kasimier needs a Libxml2/libxslt-related job

2006-08-09 Thread Buchcik, Kasimier
Hi, I'm searching for a new job, which I would love to be still related to Libxml2/Libxslt. My current job ends on the 31th of August. I felt hesitant to write here to this list since it's kind of OT, but someone assured me to do so: it's the best way to reach the right audience. The following

[xml] Modified XHTML-serialization wrt content of the style and script elements

2006-07-13 Thread Buchcik, Kasimier
Hi, When serializing XHTML, the following now applies to the content of the elements style and script: - no implicit CDATA section is generated - text nodes marked with disable-output-escaping are serialized as any other text nodes with that XSLT-specific semantic See

Re: [xml] libxml2-2.6.26: xmlXPathCacheNewString(): Bus error (coredumped)

2006-07-12 Thread Buchcik, Kasimier
Hi, Please provide the XSLT stylesheet in order to have this debugged. Regards, Kasimier -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guang Yang Hi all, I am having a problem with the latest libxml2-2.6.26. Here is the simple .cc file

Re: [xml] xmlTextReaderExpand expanding more than just the subtree

2006-07-12 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Ransburg [...] I tried doing an xmlCopyNode of the node before expanding it and then setting the -next to NULL but it lead to the same parsing errors (I expect that the copy of the

Re: [xml] Access violations with xmlDocDumpMemory

2006-07-12 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Tscharner Sent: Tuesday, July 11, 2006 9:49 AM To: xml@gnome.org Subject: [xml] Access violations with xmlDocDumpMemory Hello World, I'm creating a new document in the memory. The

Re: [xml] Dump Ancestors and Descendants of current node

2006-07-07 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Ransburg Hi! I'm doing an Expand() operation on the current node which means that The node will get all its ancestors and the full subtree available. (according to the XMLTextReader

Re: [xml] empty tag

2006-07-07 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Veillard On Thu, Jul 06, 2006 at 10:55:40PM -0500, Alex Neblett wrote: Hello! Somewhat related, is it possible to preserve tag/tag rather than have it convert to tag/ when doing

[xml] XPath's context doc

2006-07-07 Thread Buchcik, Kasimier
Hi, I'm currently evaluating the nature of the context doc in LibXSLT and Libxml2's xpath.c module. In the specs (XPath 1.0 and XSLT 1.0) the context doc is not mentioned, since, I think, it is assumed to be available via the context node. Libxml2 needs this extra information for some internal

Re: [xml] Pascal bindings outdated?

2006-07-05 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Tscharner Hello World, I noticed that the latest release is 2.6.26, but the Pascal/Delphi bindings are stuck at 2.6.22. Are these outdated or was there no API change between 2.6.22 and

Re: [xml] support for xml schema in libxml2

2006-07-04 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frans Englich [...] All C-guys are scary ;-) Hey, I'm a Delphi guy ;-) [...] Kasimier ___ xml mailing list, project page http://xmlsoft.org/

Re: [xml] support for xml schema in libxml2

2006-07-04 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] [...] I'd like to help. Quite honestly:I have very little knowledge of the big picture about XML, XSLT and related technologies. I have used libxml2 recently, see my site

Re: [xml] support for xml schema in libxml2

2006-07-03 Thread Buchcik, Kasimier
Hi Manfred, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manfred Rahmig Hi XML-Team, currently I am dealing with XML in order to check if it could be used as representation for testdata used as input for regression tests within a

Re: [xml] 2.6.26 xpath returns too many nodes?

2006-06-26 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arnold Hendriks We recently upgraded from libxml2 version 2.6.13 to 2.6.26, and are now running into problems with the xpath code. It appears that, very infrequently, the result of

Re: [xml] Migration from MS XML and minimal build questions...

2006-06-26 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Veillard On Sun, Jun 25, 2006 at 10:46:18AM +0100, David Kelvin wrote: On 24/06/06, Daniel Veillard [EMAIL PROTECTED] wrote: [...] PS. Yes - if I get it working I will try and reduce

Re: [xml] 2.6.26 xpath returns too many nodes?

2006-06-26 Thread Buchcik, Kasimier
Hi, -Original Message- From: Arnold Hendriks [mailto:[EMAIL PROTECTED] Buchcik, Kasimier wrote: Can you provide the XPath expression which are in use? You write the correct node and a handful of nodes. Do you use expressions with positional predicates (e.g. [1])? Yes

Re: [xml] 2.6.26 xpath returns too many nodes?

2006-06-26 Thread Buchcik, Kasimier
, Kasimier -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Buchcik, Kasimier Hi, [...] ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

Re: [xml] New function xmlXPathCompiledEvalIsTrue()

2006-06-26 Thread Buchcik, Kasimier
Hi, FYI: The function xmlXPathCompiledEvalToBoolean() was added to the API. Regards, Kasimier -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Buchcik, Kasimier Sent: Tuesday, June 20, 2006 8:30 PM To: xml@gnome.org Subject: [xml] New function

Re: [xml] Exslt Transform with Params

2006-06-20 Thread Buchcik, Kasimier
Hi, I can't comment on memory leaks in your app, but you could use xmlMemDisplay() or xmlMemoryDump() to check for leaks. Additionally I call Libxslt's initialization and finalization functions: xmlInitParser(); xsltInit(); ... my code ... xsltCleanupGlobals(); xmlCleanupParser();

Re: [xml] namespaces

2006-06-20 Thread Buchcik, Kasimier
Hi, Are you looking at the ns fields of the text nodes or the element nodes? Only element and attribute nodes can be in a namespace. Regards, Kasimier -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, June 20, 2006

Re: [xml] Does libxml2 create nodes on-the-fly?

2006-06-20 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Hi, still using the python bindings... It seems that I always get new python objects everytime I ask for node.children, is that correct? This makes it rather hard to Yes, this is the intended

Re: [xml] xsltApplystylesheet fails when Xpath functions are use in xsl

2006-06-20 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On I have following code int main() { xmlDocPtr doc = xmlParseFile(xmlfile.xml); xsltStylesheetPtr xsl=xsltParseStylesheetFile(xslfile.xsl); xmlDocPtr result = xsltApplyStylesheet(xsl, doc,

[xml] New function xmlXPathCompiledEvalIsTrue()

2006-06-20 Thread Buchcik, Kasimier
Hi, I'd like to add the following public function to xpath.h. It will evaluate an expression and convert it internally to a boolean result. This will spare the need of exchanging an XPath boolean object, plus the evaluation can be optimized to stop at the first sign of a positive result. /** *

Re: [xml] Problem with xmlGetNodePath() and default namespaces

2006-06-19 Thread Buchcik, Kasimier
Hi, FYI: I changed xmlGetNodePath() to generate positional node tests for elements in the default namespace. Regards, Kasimier -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Buchcik, Kasimier Sent: Thursday, June 08, 2006 5:36 PM To: Buchcik

RE: [xml] Release of libxml2-2.6.26

2006-06-09 Thread Buchcik, Kasimier
Hi, -Original Message- From: Martijn Faassen [mailto:[EMAIL PROTECTED] Sent: Friday, June 09, 2006 1:00 PM To: Buchcik, Kasimier Cc: [EMAIL PROTECTED]; xml@gnome.org Subject: Re: [xml] Release of libxml2-2.6.26 Hey, * improvements: - Xpath optimizations (Kasimier

RE: [xml] Release of libxml2-2.6.26

2006-06-09 Thread Buchcik, Kasimier
sorting, as e.g. for foo[ancestor::bar]; ancestor::bar is currently sorted, but doesn't need to be. Regards, Kasimier -Original Message- From: Martijn Faassen [mailto:[EMAIL PROTECTED] Sent: Friday, June 09, 2006 1:00 PM To: Buchcik, Kasimier Cc: [EMAIL PROTECTED]; xml@gnome.org

RE: [xml] Release of libxml2-2.6.26

2006-06-09 Thread Buchcik, Kasimier
Hi, -Original Message- From: Daniel Veillard [mailto:[EMAIL PROTECTED] Sent: Friday, June 09, 2006 5:49 PM To: Buchcik, Kasimier Cc: Martijn Faassen; xml@gnome.org Subject: Re: [xml] Release of libxml2-2.6.26 On Fri, Jun 09, 2006 at 05:16:00PM +0200, Buchcik, Kasimier wrote

RE: [xml] Release of libxml2-2.6.26

2006-06-08 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Veillard Sent: Thursday, June 08, 2006 10:24 AM To: xml@gnome.org Subject: [xml] Release of libxml2-2.6.26 The new release was actually pushed 2 days ago you can find it at

[xml] Problem with xmlGetNodePath() and default namespaces

2006-06-08 Thread Buchcik, Kasimier
Hi, xmlGetNodePath() (tree.c) will return /foo for the following scenario: ?xml version=1.0? foo xmlns=urn:test:foo/ In this case, the result of xmlGetNodePath() is not suitable for usage as an expression in further XPath processing. Is it OK to add to tree.c an other function which would

RE: [xml] Problem with xmlGetNodePath() and default namespaces

2006-06-08 Thread Buchcik, Kasimier
] [mailto:[EMAIL PROTECTED] On Behalf Of Buchcik, Kasimier Sent: Thursday, June 08, 2006 5:05 PM To: xml@gnome.org Subject: [xml] Problem with xmlGetNodePath() and default namespaces Hi, xmlGetNodePath() (tree.c) will return /foo for the following scenario: ?xml version=1.0? foo xmlns

RE: [xml] Status of the ISO Schematron implementation

2006-06-07 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 7:42 PM To: xml@gnome.org Subject: Re: [xml] Status of the ISO Schematron implementation Hello: On Wed, Jun 07, 2006 at 06:27:51PM +0200,

RE: [xml] XPath / LibXML question

2006-06-01 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Buchcik, Kasimier Hi, As Aron already pointed out, the position() should be of help. You need to select the descendant-or-self or descendant axis. Your expression could look like

RE: [xml] XPath / LibXML question

2006-06-01 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 5:18 PM To: Buchcik, Kasimier Cc: Aron Stansvik; Buchcik, Kasimier; xml@gnome.org Subject: RE: [xml] XPath / LibXML question Well, that certainly returns just the one result

RE: [xml] XSchema and libxml

2006-05-26 Thread Buchcik, Kasimier
] On Behalf Of Buchcik, Kasimier Hi (what's your first name? Hei or Chan?), -Original Message- From: Hei Chan [mailto:[EMAIL PROTECTED] Hi Kasimier, Thanks for your quick reply. I didn't mention clearly that I used the same piece of C code you provided in http

RE: [xml] Segmentation fault in xmlFreeDoc

2006-05-22 Thread Buchcik, Kasimier
Hi, -Original Message- From: Rob Richards [mailto:[EMAIL PROTECTED] Sent: Monday, May 22, 2006 1:48 PM To: Buchcik, Kasimier Cc: xml@gnome.org Subject: Re: [xml] Segmentation fault in xmlFreeDoc Buchcik, Kasimier wrote: It shows this for me, but maybe it's due to the Debug

RE: [xml] does xsltproc caches subexpressions

2006-05-19 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Buchcik, Kasimier [...] I'll keep you informed, but we need to move to xslt@gnome.org; this seems really to be Libxslt related. I'll crosspost this to xslt@gnome.org for this reason. Could

RE: [xml] RE: problem with xmlSetProp in rev 1.366

2006-05-19 Thread Buchcik, Kasimier
Hi, -Original Message- From: Rob Richards [mailto:[EMAIL PROTECTED] Buchcik, Kasimier wrote: Hi Rob, -Original Message- From: Rob Richards [mailto:[EMAIL PROTECTED] Sorry I didn't catch this change earlier, but I think the change made to not add

RE: [xml] libxml2 support for xml schema data types

2006-05-18 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andric, Milan Hi, I'm wondering if libxml2 supports XML Schema data types? Something like: ?xml version=1.0? weather xmlns=x-schema:weatherSchema.xml date1970-09-30/date

RE: [xml] validating ENTITY attributes (DTD/W3C Schema)

2006-05-18 Thread Buchcik, Kasimier
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen J. Smith Sent: Wednesday, May 17, 2006 7:42 PM To: xml@gnome.org Subject: [xml] validating ENTITY attributes (DTD/W3C Schema) I'm trying to validate xml with ENTITY attributes against a

RE: [xml] does xsltproc caches subexpressions

2006-05-11 Thread Buchcik, Kasimier
Hi, -Original Message- From: Stefan Kost [mailto:[EMAIL PROTECTED] Hi Kasimier, Am Dienstag, den 09.05.2006, 22:38 +0200 schrieb Buchcik, Kasimier: Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Kost hi

RE: AW: AW: [xml] Default Values for Attributes

2006-05-11 Thread Buchcik, Kasimier
Hi David, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Buchcik, Kasimier [...] Great that you found time to report the bug! For those interested in the issue: http://bugzilla.gnome.org/show_bug.cgi?id=341337 This is now fixed in CVS

RE: [xml] XMl Schema validation difficulties

2006-05-09 Thread Buchcik, Kasimier
Hi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David HEINZER Hello, I contact you cause of difficulties to recover error and warning messages during a XML Schema Validation. I'm taking like example the source code suggested in the

RE: [xml] Failed schema validation with substitution groups and choice

2006-05-09 Thread Buchcik, Kasimier
Hi, Fixed in CVS, xmlschemas.c, revision 1.201. See http://bugzilla.gnome.org/show_bug.cgi?id=341150 In xmlSchemaBuildContentModelForSubstGroup(), xmlAutomataNewOnceTrans2() was incorrectly used instead of xmlAutomataNewTransition2(); seems like a copypaste bug from the XML_SCHEMA_TYPE_ALL

RE: [xml] does xsltproc caches subexpressions

2006-05-09 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Kost hi, in oder to speedup gtk-doc I made a patch to replace xslt by perl for the docbook index generation [1]. Still there is some bias of others towards the xslt version. The

AW: AW: AW: [xml] Default Values for Attributes

2006-05-04 Thread Buchcik, Kasimier
Hi -Ursprüngliche Nachricht- Von: David Grohmann [mailto:[EMAIL PROTECTED] [...] I found the exact location of the bug. And the fix is pretty simple, someone copied some code by retyping it below and made a mistake left off a suffix on a variable name, the base of which was

RE: [xml] XSLT Help to RDF

2006-05-04 Thread Buchcik, Kasimier
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of oknam park [...] Since you are already crossposting, then better post to: [EMAIL PROTECTED] You'll find there a bunch of XSL gurus. Regards, Kasimier

AW: [xml] Default Values for Attributes

2006-05-03 Thread Buchcik, Kasimier
Hi, -Ursprüngliche Nachricht- Auftrag von David Grohmann Using the Tree API is there a way to get at the default value listed in the XML Schema for an optional attribute that was not included in the xml document? Reading through the libxml2 website it seems this can be done

AW: [xml] libxml schema validation - conflict result on attributevalidation

2006-05-02 Thread Buchcik, Kasimier
Hi, -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im I'm trying libxml on a very simple same file and got some rather conflicting result. I'm still learning schema and libxml so any tip is much appreciated. Thanks. result: correct/test.xml:2:

AW: [xml] libxml schema validation - conflict result on attributevalidation

2006-05-02 Thread Buchcik, Kasimier
Hi, -Ursprüngliche Nachricht- Von: Phuong Nguyen [mailto:[EMAIL PROTECTED] Hi Kasimier Thank you for your response. I came to almost the conclusion after playing with other combination. There are one point which I am still not clear on If i have an xml element such as

AW: [xml] xmllint - Newbie THINKS there may be a whitespace errorin2.6.23

2006-04-27 Thread Buchcik, Kasimier
Hi, -Ursprüngliche Nachricht- Auftrag von John Navratil Gesendet: Mittwoch, 26. April 2006 15:52 [...] The example schema and two example documents which do not appear to exhibit this behavior are: ?xml version=1.0 encoding=UTF-8? xs:schema

AW: [xml] xmllint - Newbie THINKS there may be a whitespace error in2.6.23

2006-04-26 Thread Buchcik, Kasimier
Hi, -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von John Navratil Gesendet: Dienstag, 25. April 2006 21:50 An: xml@gnome.org Betreff: [xml] xmllint - Newbie THINKS there may be a whitespace error in2.6.23 Greetings, Using xmllint

AW: [xml] XPath evaluation

2006-04-26 Thread Buchcik, Kasimier
Hi, Auftrag von Fabrice Desré - France Telecom RD/MAPS/AMS CAPRON Patrick wrote: I have tried with the use of xmlXPathRegisterNs, but it doesn't work. xmlXPathRegisterNs(xpathCtx, BAD_CAST urn:ssp.ApplicationHeader$ahV10, BAD_CAST ) xmlXPathRegisterNs(xpathCtx, BAD_CAST

AW: [xml] XSD current state of validating against Schemas

2006-04-21 Thread Buchcik, Kasimier
Hi, -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Debora Vanni Gesendet: Freitag, 21. April 2006 14:17 An: xml@gnome.org Betreff: [xml] XSD current state of validating against Schemas Hello! I have been looking through a lot of the

AW: [xml] No matching global declaration available for the validationroot

2006-04-13 Thread Buchcik, Kasimier
Hi, Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von CAPRON Patrick Gesendet: Donnerstag, 13. April 2006 14:49 Hi, I try to use libxml2 to generate an XML file and before creating it, I would like to validate it against an existing schema. If I use the xmlSchemaValidateDoc