Re: [xml] RE: xml Digest, Vol 6, Issue 30



I reread this whole chain, there is something to be said for a little thicker skin on this.  Daniel does a lot for all of us, for free.  I understand his annoyances sometimes.  The same thing that you stated below about not replying.  You could have just as easily replied to just him, since the below is of a personal nature.
 
I have in the past gotten angry at Daniel's nature..  This was due mainly to my misunderstanding of his tremendous pressure that he willingly accepts by doing all of this (Again) for free.  Also there are cultural differences, and people from different cultures speak differently.  We have people on this like from nearly everywhere.  Some are proficent in English, some are not.  Accept this too and be happy that there is such a list to ask questions.  Sometimes you will get the answer you desire, most times you will be pointed in the right direction, and others you will be told to RTFM.  That's what you get for free. 
 
If this is unacceptable, I suggest Oracle's XML implementation, I am sure it is over priced, but you will not be flamed, and you will get the marginal tech support you desire.
 
That being said, consider re-reading Daniel's comments on cross compilation.  I believe the answer you desire lies in how you are cross compiling.  But I did not see the problem that you encounter below, so there is no way for me to tell you what the issue is.


mbenyounes tycoint com wrote:
Daniel,

I can't believe the arrogance that I sensed coming from your part, when I
read your reply. The fact of the matter is that I followed the steps in the
INSTALL file to the T but got nowhere. Just because you happen to be
proficient in this domain doesn't give you the license to treat everyone
else who doesn't as an idiot. So, if you don't feel a certain posting
deserves a reply, just ignore it and that would be OK with me. But, one
thing I sure don't need from you is a condescending reply such the one you
provided.

Goodbye.

-----Original Message-----
From: xml-request gnome org [mailto:xml-request gnome org]
Sent: Sunday, October 31, 2004 12:02 PM
To: xml gnome org
Subject: xml Digest, Vol 6, Issue 30

Send xml mailing list submissions to
xml gnome org

To subscribe or unsubscribe via the World Wide We b, 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-owner 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: Patch to enable xmlSchemaSetValidErrors in python
(Daniel Veillard)
2. Re: libxml2 for ARM (Daniel Veillard)
3. Re: method getNamedItem() of class DOMNamedNodeMap
(Daniel Veillard)
4. xpath & node creation (Thomas Rokohl)
5. Re: xpath & node creation (Daniel Veillard)


----------------------------------------------------------------------

Message: 1
Date: Sun, 31 Oct 2004 09:43:20 -0500
From: Daniel Veillard
Subject: Re: [xml] Patch to enable xmlSchemaSetValidErrors in python
To: Brent Hendricks
Cc: xml gnome org
Message-ID: <20041031144320 GX26196 redhat com>
Content-Type: text/plain; charset=us-ascii

On Thu, Oct 28, 2004 at 11:55:37AM -0500, Brent Hendricks wrote:
> Speaking of which: I'd like to get python bindings for xmlValidateDtd
> working. I can go ahead and put code in libxml.c but I thought I would
> first try to understand why it's being excluded from autogeneration.
> I see that it's listed in doc/libxml2-api.xml, but does not appear in
> the generated libxml2-py.c.

autogeneration of bindings only happens if all types in the function
signature are handled by generate.py, in that case I think there is
no wrapper type or class for xmlValidCtxtPtr.

> I tried walking through generate.py but it's somewhat opaque....
> Any pointers?

Except the sources, hum ... no. It's really custom made.

Daniel

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


------------------------------

Message: 2
Date: Sun, 31 Oct 2004 09:55:03 -0500
From: Daniel Veillard
Subject: Re: [xml] libxml2 for ARM
To: mbenyounes tycoint com
Cc: xml gnome org
Message-ID: <20041031145503 GY26196 redhat com>
Content-Type: text/plain; charset=us-ascii

On Fri, Oct 29, 2004 at 09:30:30AM -0400, mbenyounes tycoint com wrote:
> My system is running Red Hat Linux 9.

Obsolete, not supported anymore.

> I downloaded libxml2-2.6.10.tar.gz into the /opt directory. Then I
proceeded
> to gunzip it into

The latest version is 2.6.15

> the /opt/libxml2-2.6.10 directory. I opened an xterm where I typed the
> following:
>
> CC=arm-linux-gcc; ./configure; Make - as was suggested to me by Daniel
> Veillard
>

make, not Make ! If you did this you certainly had an error.

And you also need the make install step. Did you read the INSTALL file
coming
in the distribution ? It states

1.What is the process to compile libxml ?


As most UNIX libraries libxml follows the "standard":


gunzip -c xxx.tar.gz | tar xvf -


cd libxml-xxxx


./configure --help


to see the options, then the compilation/installation proper


./configure [possible options]


make


make install

> CC=arm-linux-gcc. Instead, it still had CC=gcc. Does this mean that

Why do you need CC=arm-linux-gcc ? If your system is ARM and running
Linux you should just compile on the target system ? If not it's just about
basic cross compilation with the gcc tool chain and this list is not the
proper place to teach you doing cross compilation.

I don 't want to feel rude but if your job is to do embedded system
development, you really ought to know how to cross compile software using
a gcc cross compilation chain. It usually is a matter of doing
export CC=your compiler
./configure with proper options
make
make install

libxml2 should not be different from any other Unix/Gnu software in this
respect and learning to read the build and compilation logs to analyse
potential problems should be one of your basic work knowledge asset. This
can't be reduced to bugging an unrelated mailing list repeatedly until
someone does the job for you.

Daniel, who used to teach embedded system development to engineer students

--
Daniel Veillard | Red Hat Desktop team http://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
Dat e: Sun, 31 Oct 2004 09:57:29 -0500
From: Daniel Veillard
Subject: Re: [xml] method getNamedItem() of class DOMNamedNodeMap
To: Wayne Ayotte
Cc: xml gnome org
Message-ID: <20041031145729 GZ26196 redhat com>
Content-Type: text/plain; charset=us-ascii

On Sat, Oct 30, 2004 at 11:21:25AM -0400, Wayne Ayotte wrote:
> // however, the following line causes no output to appear at the client,
even previous echo's -- probably not reaching flush
> echo get_class ( $objNamedNodeMap->getNamedItem ( "empHours" ); // from
$str: > // I do get an appropriate warning from
> echo get_class ( $objNamedNodeMap->getNamedItem ( 0 ); // warning ...
expects exactly 1 parameter 0 given ...
>
> I have no urgent need for this. I am studying php/classing/xml/xsl. I most
likely committed a very newbie error, simply transmit this msg to the
nearest bit buck et and except my apologies.

I bet:
1/ getNamedItem get XPath under the hood, or is defined in XPAth terms
2/ you xhtml has a default namespace.
3/ getNamedItem end up doing //empHours which won't select any node
in a default namespace.

it's XPath #1 pitfall for beginners.

Daniel

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


------------------------------

Message: 4
Date: Sun, 31 Oct 2004 16:54:20 +0100
From: "Thomas Rokohl"
Subject: [xml] xpath & node creation
To: xml gnome org
Message-ID:

hi,

is there an easy way to create nodes with a given XPath.

i have a given path and if this node and his parent's doesn't exist i will
create it.

is there a solution in libxml?

thanx

Thomas R.








------------------------------

Message: 5
Date: Sun, 31 Oct 2004 11:57:23 -0500
From: Daniel Veillard
Subject: Re: [xml] xpath & node creation
To: Thomas Rokohl
Cc: xml gnome org
Message-ID: <20041031165723 GC26196 redhat com>
Content-Type: text/plain; charset=us-ascii

On Sun, Oct 31, 2004 at 04:54:20PM +0100, Thomas Rokohl wrote:
> hi,
>
> is there an easy way to create nodes with a given XPath.
>
> i have a given path and if this node and his parent's doesn't exist i will

> create it.
>
> is there a solution in libxml?

not automatic. XPath is a query only engine. Closest example is
http://xmlsoft.org/examples/index.html#xpath2.c

Daniel

--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME X ML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


------------------------------

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


End of xml Digest, Vol 6, Issue 30
**********************************
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml


Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.

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