* Daniel Veillard wrote:
Hum, I don't know how it should be processed in theory ! In XML
the BOM is fine at the beginning of a document entity in UTF-8 or UTF-16
but will usually mess things up in different encodings. For HTML I don't
know what the theory suggests. For compatibility I guess the
* Aron Stansvik wrote:
On 5/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
?xml version=1.0 encoding=ISO-8859-1?
rss version=2.0
channel
titleAftonbladet #246;jesliv/title
/channel
/rss
I try to extract the title element from the above. But the encoding is not
recognised.
* Yan Seiner wrote:
I am using libxml2-2.6.26, cross-compiled for an ARM platform.
I am seeing very severe memory leaks - on the order of 40K per
invocation of xmlXPathNewContext (if I read valgrind correctly...)
I've gone through the code, and I am using
xmlFree(xpathCtx);
paired with every
* Pavol Rusnak wrote:
I would like to ask, what is the correct behaviour of RelaxNG
interleave? Suppose we have the following example:
The specification http://relaxng.org/spec-20011203.html#IDA2Z0R or
http://books.xmlschemata.org/relaxng/relax-CHP-6-SECT-7.html should
answer this. It seems you
* Bjoern Hoehrmann wrote:
Your test case somewhat simplified:
a = element a { empty }
b = element b { empty }
c = element c { empty }
d = element d { empty }
e = a b
f = c d
start = element root { e f }
As Daniel asked, this would be
grammar xmlns=http://relaxng.org/ns
* Pavol Rusnak wrote:
They found out that Jing and xmllint behave differently in this test
case. Will you file the report or I should do it ?
Please do.
--
Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 ·
* Jason wrote:
I am using xml to describing user parameters, and by the helping of a XSLT
file, the user parameters will be turned into a C code. So, I didn't want
?xml version=1.0? appear in the file generated by xmlSaveFormatFile.
I think you have the following options:
* Use the xsl:output
* Xu Chunrong wrote:
THE PROBLEM is when I call xmlDocDumpFormatMemory(pdoc, tmp,len,0) my
program works OK,
but if I call xmlDocDumpFormatMemory(pdoc, tmp,len,1), xml will find
unknown node,
pcur = pcur-xmlChildrenNode;
I think you should use `children` instead, xmlChildrenNode is a legacy
* Richard W.M. Jones wrote:
The semantics of query strings don't seem to be very well defined.
http://ietfreport.isoc.org/idref/draft-hoehrmann-urlencoded/ will solve
that eventually (there is a bug in the encoding algorithm which does not
account for escaping '+', otherwise it should be fine).
* Jason Valenzuela wrote:
2. xmlReadMemory() - Read in the DTD from a char[].
This is certainly wrong, the procedure is for XML documents and DTDs are
not XML documents. You have to use, for example, xmlParseDTD() to parse
the DTD.
Are there applications where one should use the reader instead
* adel wrote:
# test xml #
?xml version=1.0?
root
elem1 id=123 name=_boo_contents 1/elem1
elem2 name=_str_contents 2/elem2
/root
##
I assume you meant to write _str_ instead of _boo_ here.
for url in doc.xpathEval('//*[contains (@*, str)]'):
1)
* Agarwal, Saumya wrote:
Generating xmlIO.d ...
Generating obj/linux/xmlIO.p ...
xmlIO.c:32:18: zlib.h: No such file or directory
You have to install the zlib development package (and perhaps other
dependencies) prior to building libxml2, either through the package
manager or by building it from
* ghosh wrote:
first i linked dynamically (libxml2.lib) and it was all working well. but
when i tried to link it statically (with libxml2_a.lib, iconv_a.lib,
zlib.lib and libxslt_a.lib (though i am not using xslt)) i got unresolved
external symbol error. do i need to include anymore lib files? if
* AndrewHartley wrote:
I have a valid XML file loaded into an xmlDocPtr and would like to
successfully save to file. When I use the xmlSaveToFilename:
[code]
xmlSaveToFilename(szFilepath, NULL, 0);
[/code]
The file isn't succsfully written. I would appreciate any helpful advice.
You don't
* Matt Poff wrote:
I have a migration pipeline that takes HTML files with UTF8 encoded
characters and pipes them through XMLlint to produce valid XHTML. This
is then queried by an XSLT files called by ETL scripts. However, no
matter what flags I use on xmllint, I cannot get it to output the
* Chuck Bearden wrote:
It appears that libxslt1.1 pays attention to the charset declaration in the
Content-Type HTTP header when retrieving XML files with MIME types of
application/xml or text/xml via the document() function. If a misconfigured
web server sends Content-Type: text/xml;
* Christopher R. Palmer wrote:
xsl:value-of select=0.09 = .9e-1/
In XPath 1.0 that is illegal syntax; it is legal syntax in XPath 2.0
which libxml2 does not support. Whether the specifications require
the expression above to evaluate to true I am not sure. XPath 1.0 has
specific requirements for
* Christopher R. Palmer wrote:
/**
* xmlXPathStringEvalNumber:
* @str: A string to scan
*
* [30a] Float ::= Number ('e' Digits?)?
Is that [30a] from some addendum to XPath 1.0 or is it a libxml extension?
It would have to be an extension, new features cannot be added to W3C
* dhk wrote:
I'm trying to use nanohttp to get and parse file. Is there a way to
read the contents of a directory to see what's there before calling
xmlNanoHTTPFetch()? I thought xmlNanoHTTPMethodRedir() would do it, but
I can't get it to work. Is there an example? Also is there a way to
fetch
* Marco Rogers wrote:
I have two versions of my codebase with pretty minimal changes. Here's the
call to xmlSetProp
xmlAttr *elem = xmlSetProp(element-xml_obj,
(const xmlChar*)*name,
(const
* Marco Rogers wrote:
Thanks, that was it. Dealing with text nodes instead of elements. Any idea
on how to enable the debug functions?
A quick look at the source suggests they are only available when the
macro LIBXML_DEBUG_ENABLED has been defined during compilation. And
that seems to be
* JerryWRice wrote:
My program places this XML document into a zero-terminated char text
buffer and creates a reader for it using xmlReaderForDoc(). Then I
perform a series of xmlTextReaderRead() calls to advance my current
node to element params on line 3. I've confirmed I'm at the opening
* Jellinghaus Andreas wrote:
on windows xp with vs 2008 I'm using libxml 2.7.7 (the binaries from
xmlsoft.org website).
I have some third party app loading a plugin dll and running init(), do(),
done() functions,
and unloading the plugin dll. In my plugin dll I try to use libxml, and when I
* richardcav...@mail.com wrote:
I'm writing a Wikipedia bot in C. It is designed to be as standard and
portable as possible. I'm looking for an XML library to parse the
output of Wikipedia requests. The tasks are in fact very simple. For
example, look at the login result item here:
* preet $ wrote:
I am trying to run the example provided with libxml2-2.2.7-win32.zip, but
I get the message The procedure entry point gzdirect could not be located
in the dynamic link library zlib1.dll I don't know how to proceed with this
issue. Is this because of wrong version of zlib. The
* David Lawless wrote:
Searched for nearly an hour and dug in the release
tree and I can't find any clear information on how to
compile GNU 'libiconv' natively under Windows with
Visual Studio 2008 and/or 2010.
README.woe32 in the current libiconv sources is pretty clear about this,
Building
* satya wrote:
http://bugzilla.gnome.org/buglist.cgi?product=libxml2
This redirects to 'https:' and then works for me. Are you sure this was
not a temporary issue? What IP address does 'bugzilla.gnome.org' resolve
to for you (use, say, `ping bugzilla.gnome.org` to tell)? What country
are you
* Alec Taylor wrote:
1LINK : fatal error LNK1561: entry point must be defined
http://msdn.microsoft.com/en-us/library/ky737ya4(v=VS.100).aspx:
The linker did not find an entry point. You may have intended to link
as a DLL, in which case you should link with the /DLL option. You may
have
* Alec Taylor wrote:
Thanks Bjoern, but I still can't figure out how to link it properly.
http://en.wikipedia.org/wiki/Main_function#C_and_C.2B.2B
--
Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
* john.mur...@uk.bnpparibas.com wrote:
1LINK : warning LNK4098: defaultlib 'mfc80ud.lib' conflicts with use of
other libs; use /NODEFAULTLIB:library
1LINK : warning LNK4098: defaultlib 'mfcs80ud.lib' conflicts with use of
other libs; use /NODEFAULTLIB:library
You are linking to MFC both
* Michael Ludwig wrote:
Bjoern Hoehrmann schrieb am 25.11.2011 um 11:42 (+0100):
* john.mur...@uk.bnpparibas.com wrote:
1LINK : warning LNK4098: defaultlib 'mfc80ud.lib' conflicts with
use of other libs; use /NODEFAULTLIB:library
1LINK : warning LNK4098: defaultlib 'mfcs80ud.lib' conflicts
* Daniel Veillard wrote:
C.f. the bug Fix windows unicode build
https://bugzilla.gnome.org/show_bug.cgi?id=638650
and the previous discussions here:
http://mail.gnome.org/archives/xml/2008-February/msg00094.html
now that the release is done, can we have a final decision on this.
As I
* Vojtech Fried wrote:
I would expect XPath '/data/message/ancestor-or-self::*' to return three
nodes: document node (the node with type XML_DOCUMENT_NODE), 'data' node
(the root node) and 'message' node. I don't get the document node
though.
The node test `*` matches only element nodes; use
* Venkataragavan Vijayakumar wrote:
I want to generate a XML like the following , In this example root element
Envelope having namespace prefix as S11 . How to add the namespace prefix
to the Root Element. In my code below I have simply given Root element name
as S11:Envelope, I know it is wrong,
* dave c wrote:
I'm creating an app that will be used to author a UIRibbon binary. The
ribbon source is written in standard XML and validated against a
microsoft schema. The schema works well with msxml but I'd prefer to use
libxml if I can. However the schema fails to parse when using
* Venkataragavan Vijayakumar wrote:
I am receiving the multiple xml bodies using a single TCP connection , how
to identity the End of a XML body.
There is no general solution to that problem. Usually there would be a
protocol layered on top of TCP that segments the stream, like HTTP has
* nscg wrote:
Since I would like to use libxml2 with a wxWidgets application in a Unicode
compile, I have been looking around for suitable libraries or DLLs.
My preference would be using MSVC 2010 Express as the compiler/debugger.
I did find instructions for building the libraries using MSVC
* Patrick Monnerat wrote:
As a first-time mailer to this list, I tried yesterday to post a big
(~250k) gzipped patch to introduce support for the OS/400 platform.
I did create an account and I see this e-mail has been accepted by the
list server, but it has never been sent back nor appears
* Bogdan Cristea wrote:
Is there a way to parse with libxml2 CSS files ?
No. But look for 'Libcroco' using your favourite search engine.
--
Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899
* Desmond Daignault wrote:
# iconv and zlib are the build directory for each, ensure the directory name
# is updated below if updating the version of those libraries.
./configure --prefix=${PWD}/../install \
--without-threads \
runxmlconf.o:runxmlconf.c:(.text+0x50d): undefined reference
* Shane Dempsey (shdempse) wrote:
I am using libxml2 and the xmlTextReader to parse the xml content below.
Libxml somehow interprets the content contained in the xml node and uses
that information to encode the parsed content resulting in the insertion
of the  character. Is there a way to
* Sandeep H S wrote:
We have a product which is dependent on libxml2. I required one
confirmation regarding Multiple use-after-free vulnerabilities in libxml2
2.9.0. It would be very helpful if you please confirm the same
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1969
In the above
* Tony Girgenti wrote:
I'm trying to build a simple LIBXML2 example program from here:
http://xmlsoft.org/tutorial/apc.html using the supposedly Windows libxml2
folders from here: ftp://ftp.zlatkovic.com/libxml/
Should the all files that I need to build that simple program in Windows be
contained
* Vojtech Fried wrote:
[...]
Please do not use the Reply to function of your mail client to compose
new and independent mails to the mailing list.
I have an xml like this
?xml version=1.0 encoding=UTF-8?
!DOCTYPE root [
!ENTITY greeting ahoy
]
root
valuegreeting;/value
valueToday,
* James Franco wrote:
admin@US01WKS03044 /c/libxml2-2.6.30
$ make64
make all-recursive
process_begin: CreateProcess(NULL, make all-recursive, ...) failed.
make (e=2): The system cannot find the file specified.
Makefile:560: recipe for target 'all' failed
make64: *** [all] Error 2
any suggestions
45 matches
Mail list logo