<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.gnome.lib.xslt">
    <title>gmane.comp.gnome.lib.xslt</title>
    <link>http://blog.gmane.org/gmane.comp.gnome.lib.xslt</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4142"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4141"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4137"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4134"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4133"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4132"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4131"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4129"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4121"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4116"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4109"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4106"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4102"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4100"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4099"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4097"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4094"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4093"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4089"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4079"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4142">
    <title>Source code</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4142</link>
    <description>&lt;pre&gt;Hello there,

Is the source code for libxslt available somewhere?  I'm sure it will be - but wherever I've looked I only seem to find the 'dev' versions (i.e. header files and binaries).  I'm sure it'll be somewhere obvious but I've drawn a blank, so far....  :-(

John
&lt;/pre&gt;</description>
    <dc:creator>John Emmas</dc:creator>
    <dc:date>2012-05-09T09:41:26</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4141">
    <title>Upcoming release</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4141</link>
    <description>&lt;pre&gt;  Hello everybody,

I'm way behind in making a release, but I will use most of this week
to work on making the next libxml2 (and possibly libxslt) release(s).
I will go over bugs in GNOME bugzilla and try to find patches lying
there, if you have some and see no movement in the next couple of
days, make sure they are provided as attachment and marked as patches.
You can also send to the list if bugzilla is a problem,

  thanks,

Daniel

&lt;/pre&gt;</description>
    <dc:creator>Daniel Veillard</dc:creator>
    <dc:date>2012-05-07T06:15:16</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4137">
    <title>Function doc-available not found error?</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4137</link>
    <description>&lt;pre&gt;Hi,

I figured out that there is a way to check for existing documents in XSLT 2.0 templates. Trying this in my template does not work.

I am using libxslt in my code (not with xsltproc). Do I have to load another library or activate the function in my C++ code some how?

If not, is there an equivalent function in XSLT 1.1?

Thanks, Lothar

&lt;/pre&gt;</description>
    <dc:creator>Lothar</dc:creator>
    <dc:date>2012-04-21T05:10:40</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4134">
    <title>string(node-set)</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4134</link>
    <description>&lt;pre&gt;I was a bit surprised to see the xpath spec says string() of
a node-set should be the string of the first (in document order)
node, not the complete node set.

Does anyone know the history or rationale for this behavior?

Short of a loop, what's the easiest way to turn a node set into a
string of all the members of that node set?

Thanks,
 Phil
&lt;/pre&gt;</description>
    <dc:creator>Phil Shafer</dc:creator>
    <dc:date>2012-04-18T15:18:58</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4133">
    <title>Rich Bodo wants to stay in touch on LinkedIn</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4133</link>
    <description>&lt;pre&gt;LinkedIn
------------



The,

I'd like to add you to my professional network on LinkedIn.

- Rich Bodo

Rich Bodo
Professional
San Francisco Bay Area

Confirm that you know Rich Bodo:
https://www.linkedin.com/e/-fo5qo7-h0e68kwe-10/isd/6485826507/Kv78KFUF/?hs=false&amp;amp;tok=04V58Ywz3T0Bc1

--
You are receiving Invitation to Connect emails. Click to unsubscribe:
http://www.linkedin.com/e/-fo5qo7-h0e68kwe-10/iAsyXEi8JfC0M1XdMAtpzsd0/goo/xslt%40gnome%2Eorg/20061/I2250078961_1/?hs=false&amp;amp;tok=1m4j8yc_jT0Bc1

(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.

_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
xslt&amp;lt; at &amp;gt;gnome.org
http://mail.gnome.org/mailman/listinfo/xslt
&lt;/pre&gt;</description>
    <dc:creator>Rich Bodo</dc:creator>
    <dc:date>2012-03-29T19:03:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4132">
    <title>func:function and "xsltApplySequenceConstructor: value-ofwas not compiled"</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4132</link>
    <description>&lt;pre&gt;Should exsltFuncFunctionComp() be compiling it's contents?  Currently
it calls xsltParseTemplateContent(), but not xsltInitElemPreComp()
(or similar function).

The impact is that if you make the mistake of putting content
directly in your &amp;lt;func:function&amp;gt;, you get:

xsltApplySequenceConstructor: value-of was not compiled

and no clue where the bug in your script is.   If your script also
has text nodes, you get:

xsltApplySequenceConstructor: value-of was not compiled
  ELEMENT fake
element fake: error : Node has no parent
    TEXT
      content=        
{http://xml.juniper.net/test}test-func: cannot write to result tree while executing a function
xmlXPathCompiledEval: evaluation failed
runtime error: file /tmp/te30.xsl line 5 element value-of
XPath evaluation returned no result.

which is much more helpful.  Would compiling the contents of the
function help get a better error to the user?

Examples appended (with and without text nodes).

Thanks,
 Phil

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

% cat /tmp/te30.xsl
&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt;
&amp;lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:test-ns="http://xml.juniper.net/test" version="1.0"&amp;gt;
  &amp;lt;xsl:template match="/"&amp;gt;
    &amp;lt;test&amp;gt;
      &amp;lt;xsl:value-of select="test-ns:test-func()"/&amp;gt;
    &amp;lt;/test&amp;gt;
  &amp;lt;/xsl:template&amp;gt;
  &amp;lt;func:function name="test-ns:test-func"&amp;gt;
    &amp;lt;xsl:value-of select="concat(&amp;amp;quot;Between &amp;amp;quot;, $x)"/&amp;gt;
  &amp;lt;/func:function&amp;gt;
&amp;lt;/xsl:stylesheet&amp;gt;
% xsltproc /tmp/te30.xsl /tmp/te30.xsl
xsltApplySequenceConstructor: value-of was not compiled
  ELEMENT fake
element fake: error : Node has no parent
    TEXT
      content=        
{http://xml.juniper.net/test}test-func: cannot write to result tree while executing a function
xmlXPathCompiledEval: evaluation failed
runtime error: file /tmp/te30.xsl line 5 element value-of
XPath evaluation returned no result.
&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;test xmlns:func="http://exslt.org/functions" xmlns:test-ns="http://xml.juniper.net/test"/&amp;gt;
% cat /tmp/te30a.xsl
&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt;
&amp;lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:test-ns="http://xml.juniper.net/test" version="1.0"&amp;gt;
  &amp;lt;xsl:template match="/"&amp;gt;
    &amp;lt;test&amp;gt;
      &amp;lt;xsl:value-of select="test-ns:test-func()"/&amp;gt;
    &amp;lt;/test&amp;gt;
  &amp;lt;/xsl:template&amp;gt;
  &amp;lt;func:function name="test-ns:test-func"&amp;gt;&amp;lt;xsl:value-of select="concat(&amp;amp;quot;Between &amp;amp;quot;, $x)"/&amp;gt;&amp;lt;/func:function&amp;gt;
&amp;lt;/xsl:stylesheet&amp;gt;
% xsltproc /tmp/te30a.xsl /tmp/te30a.xsl
xsltApplySequenceConstructor: value-of was not compiled
&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;test xmlns:func="http://exslt.org/functions" xmlns:test-ns="http://xml.juniper.net/test"/&amp;gt;
% diff -u /tmp/te30.xsl /tmp/te30a.xsl
--- /tmp/te30.xsl2012-03-26 14:27:46.000000000 -0400
+++ /tmp/te30a.xsl2012-03-26 16:02:51.000000000 -0400
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -5,7 +5,5 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
       &amp;lt;xsl:value-of select="test-ns:test-func()"/&amp;gt;
     &amp;lt;/test&amp;gt;
   &amp;lt;/xsl:template&amp;gt;
-  &amp;lt;func:function name="test-ns:test-func"&amp;gt;
-    &amp;lt;xsl:value-of select="concat(&amp;amp;quot;Between &amp;amp;quot;, $x)"/&amp;gt;
-  &amp;lt;/func:function&amp;gt;
+  &amp;lt;func:function name="test-ns:test-func"&amp;gt;&amp;lt;xsl:value-of select="concat(&amp;amp;quot;Between &amp;amp;quot;, $x)"/&amp;gt;&amp;lt;/func:function&amp;gt;
 &amp;lt;/xsl:stylesheet&amp;gt;
% xsltproc --version
Using libxml 20708, libxslt 10126 and libexslt 815
xsltproc was compiled against libxml 20707, libxslt 10126 and libexslt 815
libxslt 10126 was compiled against libxml 20707
libexslt 815 was compiled against libxml 20707
% 
&lt;/pre&gt;</description>
    <dc:creator>Phil Shafer</dc:creator>
    <dc:date>2012-03-26T20:24:46</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4131">
    <title>libxsltmod for Python 3.2</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4131</link>
    <description>&lt;pre&gt;I have updated the libxsltmod code to work with Python 3.2
Initial testing appears to be ok but I shall continue updating all the tests now.

My question is this:

How shall I go about submitting these changes to the project?

_________________________________________
David 'dex' Schwartz
 Win32 Technical Lead ∫
  Objective Corporation Limited 
  Ph: +61 (0)2 9965 7868 
  Mobile: +61 (0)407 254 425 
  http://www.objective.com 
  mailto:David.Schwartz&amp;lt; at &amp;gt;objective.com

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. 
_______________________________________ 


_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
xslt&amp;lt; at &amp;gt;gnome.org
http://mail.gnome.org/mailman/listinfo/xslt
&lt;/pre&gt;</description>
    <dc:creator>David Schwartz</dc:creator>
    <dc:date>2012-03-15T03:56:37</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4129">
    <title>Calling XPath-function from XSLT Element handler</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4129</link>
    <description>&lt;pre&gt;Hello!

I've registered external module (test), external element (test:foo)
and external XPath-function (test:bar). I need to call test:bar from
test:foo C++ handler so that test:bar will "see" all current XSLT
entities (stylesheet variables, etc).

Please look at this short code example. I've created XML that contains
one empty root node and XSL that contains one variable ($var) and one
test:foo element. When I perform XSL transformation, I need to
evaluate XPath-expression from test:foo handler, that contains
test:bar($var) call:

http://www.everfall.com/paste/id.php?wlyu7lb528hy

I didn't find how can I evaluate XPath-expression with registred
external XPath function, and how can I make current XSLT-environment
visible for this XPath-expression. The point isn't in making visible
one single variable either one single function. The point is in making
all external functions and XSLT-environment visible from this
XPath-expression. Any suggestions?

Thanks!

Denis.
&lt;/pre&gt;</description>
    <dc:creator>Denis Davidov</dc:creator>
    <dc:date>2012-03-01T20:15:36</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4121">
    <title>(no subject)</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4121</link>
    <description>&lt;pre&gt;Hello. First of all, thanks for libxml and libxslt! I’m working on
software that uses both of the libraries and I found GNOME XML/XSLT
libraries very easy to use. Thanks, guys!

I have several questions and I hope I’ll find some help here. Here they are:

1. I’m trying to pass parameters into XSL, but something goes wrong
and it doesn’t work. Here I’ve published very short code example that
illustrates simple XSL transformation and parameter passing:
http://www.everfall.com/paste/id.php?76x88mgneaad

Unfortunately it doesn’t work. “value-of” element just returns an
empty string. I have this output:

&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
Param =

What do I do wrong? You can edit code example right on the website
where its published.


2. When I create xsltTransformContext (using xsltNewTransformContext),
I have to specify both XML and XSL documents. When I call
xsltApplyStylesheetUser, I also need to pass both XML and XSL document
pointers. Why do I need to do this two times? Here is an explanation
why do I ask: I register a lot of extension elements and functions,
and perform a lot of transformations on the different documents and
style sheets. I don’t want to register all extensions each time when I
need to transform new XML-XSL pair, I want to reuse XSLT context.
Currently I do it in this way:
http://www.everfall.com/paste/id.php?y22esn1kbwic

Is there any better way to solve this problem?


3. When I perform transformation, I have a lot of such errors in stdout:

element div: error : Name is not from the document dictionnary 'div'

(btw, there is a misspell in “dictionary”). If I’ll specify XHTML
namespace in the XSL as a default namespace, then there are no such
errors. But I don’t want to specify it in XSL. I want to know:
- How I can specify my own dictionary using libxslt API?
- How I can switch error reporting off?


4. Assume that I have xmlDoc, xmlXPathContext (constructed from this
xmlDoc), and xmlNode (somewhere from this xmlDoc). I want to perform
XPath-request as if this node was the root of the document. What is
the best way to do this? Currently I replace root node, perform the
request, and place the root node back:
http://www.everfall.com/paste/id.php?wzgzmx95uza8

Is there any better solution for this?


Ok, that’s it for now, thanks for help :)

Denis.
&lt;/pre&gt;</description>
    <dc:creator>Denis Davidov</dc:creator>
    <dc:date>2012-02-27T19:07:19</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4116">
    <title>XSLT 2.0</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4116</link>
    <description>&lt;pre&gt;Hello,
was experimenting w/ enhancing libxml2/libxslt to support XSLT 2.0:
https://github.com/andriy-gerasika/libxml2/commits/master

it is very lame, but I am not professional C/C++ developer, need some 
guidance:
a) support xpath2.0/xslt2.0 as a config option? (default no)
b) how to support unicode in lower-case() function --&amp;gt; use icu/iconv?

Andriy
&lt;/pre&gt;</description>
    <dc:creator>Andriy Gerasika</dc:creator>
    <dc:date>2012-02-17T16:15:17</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4109">
    <title>number() floated?</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4109</link>
    <description>&lt;pre&gt;Hi there,

I'm using 1.1.26-6 version of libxslt (Debian Lenny), and cannot find any explanation regarding described below behaviour.

I got following simple xslt file:

    &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;

    &amp;lt;xsl:stylesheet version="1.0" xmlns:xsl='http://www.w3.org/1999/XSL/Transform'&amp;gt;
        &amp;lt;xsl:template match="/"&amp;gt;
        &amp;lt;xsl:value-of select="number('8.95')"/&amp;gt;
        &amp;lt;/xsl:template&amp;gt;
    &amp;lt;/xsl:stylesheet&amp;gt;


running xsltproc with this xsl against any xml gives:
8.949999999999999

Is this expected? Shouldn't this be 8.85?

Thanks for any explanation.

Best regards,
Konrad Korzeniowski
_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
xslt&amp;lt; at &amp;gt;gnome.org
http://mail.gnome.org/mailman/listinfo/xslt
&lt;/pre&gt;</description>
    <dc:creator>Konrad Korzeniowski</dc:creator>
    <dc:date>2011-12-16T17:06:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4106">
    <title>Handling &lt;redirect:write append="yes"&gt;</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4106</link>
    <description>&lt;pre&gt;I'd like to add support for &amp;lt;redirect:write append="yes"&amp;gt; to libxslt,
mirroring functionality that's available in other XSLT engines.

The problem is that this requires adding an "append" flag to
xmlFileOpenW(), which ends up percolating up through the public
API, which isn't acceptable.  For example, while xmlFileOpenW() is
static, the function signature is used xmlRegisterOutputCallbacks(),
which is part of the public API and can't be changed.

The alternative is to create a parallel set of functions that mirror
the existing ones but add a "flags" parameter that can include an
append flag.  This will retain current behaviours and APIs, but
will allow new code to call new functions which accept this flags
parameter.

So where xsltDocumentElem() currently calls xsltSaveResultToFilename(),
it will call xsltSaveResultToFilenameFlags() with the flags parameter
indicating if the 'append="yes"' attribute was given.  Callers can
continue to call xmlRegisterOutputCallbacks() with their existing
IO functions, or can call xmlRegisterOutputCallbacksFlags() and
pass in functions that accept the new flags parameter.

This solution, while repetative, seems like the only workable answer.
Are there any other suggestions or alternatives?  Is the "Flags"
suffix acceptable?  If so, I'll work up a patch.

Thanks,
 Phil
&lt;/pre&gt;</description>
    <dc:creator>Phil Shafer</dc:creator>
    <dc:date>2011-12-16T19:28:17</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4102">
    <title>Issues when validating language strings</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4102</link>
    <description>&lt;pre&gt;According to the schema standard xs:language type is defined as follows
(see http://www.w3.org/TR/xmlschema11-2/#language):

&amp;lt;xs:simpleType id="language" name="language
&amp;lt;http://www.filigris.com/products/docflex_xml/xsddoc/examples/html/xslt20/schemas/XMLSchema_xsd/simpleTypes/language.html&amp;gt;"&amp;gt;

&amp;lt;xs:restriction base="xs:token
&amp;lt;http://www.filigris.com/products/docflex_xml/xsddoc/examples/html/xslt20/schemas/XMLSchema_xsd/simpleTypes/token.html&amp;gt;"&amp;gt;
&amp;lt;xs:pattern id="language.pattern"
value="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*"/&amp;gt;
&amp;lt;/xs:restriction&amp;gt;
&amp;lt;/xs:simpleType&amp;gt;

According to that definition if we put 'aa-bb-cc' as a value of xml:lang
or any custom attribute of type xs:language it should be accepted as
valid one.

However when using libxslt that is not the case. Definition of language
type in libxslt permits only one section with - (like aa-bb, dd-cc,
en-US etc.). It is as if it uses this regex for validation:

[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})

Here are the sample files that demonstrate the issue:

--- test.xml ---
&amp;lt;?xml version="1.0" encoding="UTF-8" ?&amp;gt;
 - &amp;lt;rootelxmlns="*http://dummy.libxml2.validator*"
xmlns:xsi="*http://www.w3.org/2001/XMLSchema-instance*"
xsi:schemaLocation="*http://dummy.libxml2.validator test.xsd*"&amp;gt;
       &amp;lt;samplelanguage="*aa-bb-cc*"&amp;gt;custom language&amp;lt;/sample&amp;gt;
  &amp;lt;samplelanguage="*en-US*"xml:lang="*aa-bb-cc*"&amp;gt;English US&amp;lt;/sample&amp;gt;
&amp;lt;/rootel&amp;gt;

--- test.xsd --
&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;xs:schema id="rootel"
           targetNamespace="http://dummy.libxml2.validator"
           xmlns="http://dummy.libxml2.validator"
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
           attributeFormDefault="qualified"
           elementFormDefault="qualified"&amp;gt;
  &amp;lt;xs:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="http://www.w3.org/2001/xml.xsd" /&amp;gt;          
  &amp;lt;xs:element name="rootel"&amp;gt;
    &amp;lt;xs:complexType&amp;gt;
      &amp;lt;xs:choice minOccurs="0" maxOccurs="unbounded"&amp;gt;
        &amp;lt;xs:element name="sample" nillable="true"&amp;gt;
          &amp;lt;xs:complexType&amp;gt;
            &amp;lt;xs:simpleContent&amp;gt;
              &amp;lt;xs:extension base="xs:string"&amp;gt;
                &amp;lt;xs:attribute name="language" form="unqualified"
type="xs:language" /&amp;gt;
                &amp;lt;xs:attribute ref="xml:lang" use="optional"/&amp;gt;
              &amp;lt;/xs:extension&amp;gt;
            &amp;lt;/xs:simpleContent&amp;gt;
          &amp;lt;/xs:complexType&amp;gt;
        &amp;lt;/xs:element&amp;gt;
      &amp;lt;/xs:choice&amp;gt;
    &amp;lt;/xs:complexType&amp;gt;
  &amp;lt;/xs:element&amp;gt;
&amp;lt;/xs:schema&amp;gt;

Save these files in the same directory and execute following command to
demonstrate the issue:

xmllint --noout --schema test.xsd test.xml

Any thoughts? This looks like a bug to me.

&lt;/pre&gt;</description>
    <dc:creator>Darko Miletic</dc:creator>
    <dc:date>2011-11-24T13:13:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4100">
    <title>The XSLT C library is designed to run on UNIX Operating Systems compliant with POSIX</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4100</link>
    <description>&lt;pre&gt;Hi Daniel Veillard&amp;lt;http://xmlsoft.org/XSLT/bugs.html&amp;gt;!

We are working in a project in Spain and need to verify the following requirement: The subsystem shall be designed to run on UNIX Operating Systems compliant with POSIX (IEEE Std. 1003.1-latest version). Our subsystem uses the xlstproc command. I would like to ask you  if the XSLT C library  is  designed to run on UNIX Operating Systems compliant with POSIX (IEEE Std. 1003.1-latest version)

Thank you.

Regards,
Bea.


Beatriz Atienza González
ATM Continental Europe
Ctra. de Loeches, 9, Ed. FLUMA
28850 Torrejón de Ardoz, Madrid
Spain

T +34 91 6272174
batienza&amp;lt; at &amp;gt;indra.es&amp;lt;mailto:mrguzman&amp;lt; at &amp;gt;indra.es&amp;gt;
www.indra.es&amp;lt;http://www.indra.es/&amp;gt;


________________________________
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Si no es vd. el destinatario indicado, queda notificado que la lectura, utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente.
Evite imprimir este mensaje si no es estrictamente necesario.

This email and any file attached to it (when applicable) contain(s) confidential information that is exclusively addressed to its recipient(s). If you are not the indicated recipient, you are informed that reading, using, disseminating and/or copying it without authorisation is forbidden in accordance with the legislation in effect. If you have received this email by mistake, please immediately notify the sender of the situation by resending it to their email address.
Avoid printing this message if it is not absolutely necessary.
_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
xslt&amp;lt; at &amp;gt;gnome.org
http://mail.gnome.org/mailman/listinfo/xslt
&lt;/pre&gt;</description>
    <dc:creator>Atienza Gonzalez, Beatriz</dc:creator>
    <dc:date>2011-11-09T09:31:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4099">
    <title>xsltproc and whitespace with &lt;indexterm&gt;</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4099</link>
    <description>&lt;pre&gt;Hi All,

I'm using xsltproc 2.7.6 and fop {0.95|1.0} on Ubuntu 10.04 (x64). I'm
producing PDFs using docbook.xsl located at
/usr/share/xml/docbook/stylesheet/docbook-xsl-ns/fo/docbook.xsl.

When I add index terms between elements such as &amp;lt;chapter&amp;gt; or &amp;lt;section&amp;gt;
and &amp;lt;para&amp;gt;, the whitespace is showing up in the finished document.
That is, I will not see 'standard' spacing between a {chapter|section}
title and the first paragraph (which looks like it should be one
line). I will see double/triple spaced lines between the title and the
first paragraph. I also see similar between paragraphs.

I thought the whitespace between tags was extraneous and would be
silently discarded (for example, the whitespace caused by &amp;lt;indexterm&amp;gt;
below). Is this not the case?

Are there any work arounds to get back to standard line spacing?

Jeff

  &amp;lt;section id="section_xxx"&amp;gt;
    &amp;lt;title&amp;gt;Section Title&amp;lt;/title&amp;gt;

    &amp;lt;indexterm&amp;gt;
      &amp;lt;primary&amp;gt;Term 1&amp;lt;/primary&amp;gt;
    &amp;lt;/indexterm&amp;gt;

    &amp;lt;indexterm&amp;gt;
      &amp;lt;primary&amp;gt;Term 2&amp;lt;/primary&amp;gt;
    &amp;lt;/indexterm&amp;gt;

    &amp;lt;para&amp;gt;...&amp;lt;/para&amp;gt;

    &amp;lt;indexterm&amp;gt;
      &amp;lt;primary&amp;gt;Term 3&amp;lt;/primary&amp;gt;
    &amp;lt;/indexterm&amp;gt;

    &amp;lt;para&amp;gt;...&amp;lt;/para&amp;gt;

  &amp;lt;/section&amp;gt;
&lt;/pre&gt;</description>
    <dc:creator>Jeffrey Walton</dc:creator>
    <dc:date>2011-11-07T02:33:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4097">
    <title>bug in xlst-config</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4097</link>
    <description>&lt;pre&gt;hi - if one builds xml2 and xslt from source, then the xml2 headers
are going into $prefix/include/libxml2/libxml2 and the xslt headers
are going into $prefix/include/libxslt (the paths are inconsistent.)

in addition, the xlst-config script is looking for it's headers in
$prefix/include/libxml2/libxml2 - wtf is up with that?

i hacked the xlst-config to look in  $prefix/include/libxslt/libxslt
for it's headers ( I added a link between libxslt and "." because
inconsistencies drive me bananas.)

cinaed

&lt;/pre&gt;</description>
    <dc:creator>Cinaed Simson</dc:creator>
    <dc:date>2011-10-24T21:06:31</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4094">
    <title>copy right information for libxslt versionlibxslt-1.1.15.win32</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4094</link>
    <description>&lt;pre&gt;Hi,

 

We are using libxslt in one of our Product but I am not able to find the
copy right information for libXSLT version libxslt-1.1.15.win32
&amp;lt;ftp://xmlsoft.org/libxslt/win32/libxslt-1.1.15.win32.zip&amp;gt;  any where on
your web site.

 

Can you please provide me the copy right information for this version?

 

Thank You.

 

Bela Patel

CGI

Office - 703-267-8193

Cell - 703-581-4462

http://www.cgi.com &amp;lt;http://www.cgi.com/&amp;gt; 

CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging
to CGI Group Inc. and its affiliates may be contained in this message.
If you are not a recipient indicated or intended in this message (or
responsible for delivery of this message to such person), or you think
for any reason that this message may have been addressed to you in
error, you may not use or copy or deliver this message to anyone else.
In such case, you should destroy this message and are asked to notify
the sender by reply email.

 

 

_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
xslt&amp;lt; at &amp;gt;gnome.org
http://mail.gnome.org/mailman/listinfo/xslt
&lt;/pre&gt;</description>
    <dc:creator>Patel, Belaben</dc:creator>
    <dc:date>2011-09-15T20:08:32</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4093">
    <title>Add 'const' to string casts?</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4093</link>
    <description>&lt;pre&gt;gcc dislikes this cast (in xslt.h):

    /**
     * XSLT_NAMESPACE:
     *
     * The XSLT specification namespace.
     */
    #define XSLT_NAMESPACE ((xmlChar *) "http://www.w3.org/1999/XSL/Transform")

The error is:

    warning: cast discards qualifiers from pointer target type

Can this be changed to:

    #define XSLT_NAMESPACE ((const xmlChar *) "http://www.w3.org/1999/XSL/Transform")

to avoid the warning?

Thanks,
 Phil
&lt;/pre&gt;</description>
    <dc:creator>Phil Shafer</dc:creator>
    <dc:date>2011-09-06T17:06:20</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4089">
    <title>Undeclared params</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4089</link>
    <description>&lt;pre&gt;Is an &amp;lt;xsl:param&amp;gt; statement required for all global variables?
xsltproc will happily allow a reference to an undeclared param _if_
the param has a value passed in.   I noticed today that a customer's
script was depending on this behavior, which I thought would be an
error.

In this example the variable "test" is not declared.  Running
xsltproc without a "--param test" gives an error but with a "--param
test" it runs fine.

% cat test.xsl
&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt;
&amp;lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"&amp;gt;
  &amp;lt;xsl:template match="/"&amp;gt;
    &amp;lt;out&amp;gt;
      &amp;lt;value&amp;gt;
        &amp;lt;xsl:value-of select="concat(&amp;amp;quot;test: &amp;amp;quot;, $test)"/&amp;gt;
      &amp;lt;/value&amp;gt;
    &amp;lt;/out&amp;gt;
  &amp;lt;/xsl:template&amp;gt;
&amp;lt;/xsl:stylesheet&amp;gt;
% xsltproc test.xsl test.xml
runtime error: file test.xsl line 6 element value-of
Variable 'test' has not been declared.
xmlXPathCompOpEval: parameter error
runtime error: file test.xsl line 6 element value-of
XPath evaluation returned no result.
&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;out&amp;gt;&amp;lt;value/&amp;gt;&amp;lt;/out&amp;gt;
% xsltproc --param test '"test"' test.xsl test.xml
&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;out&amp;gt;&amp;lt;value&amp;gt;test: test&amp;lt;/value&amp;gt;&amp;lt;/out&amp;gt;
% 

Thanks,
 Phil
&lt;/pre&gt;</description>
    <dc:creator>Phil Shafer</dc:creator>
    <dc:date>2011-08-11T23:46:13</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4079">
    <title>crappy formatting with &lt;xsl:text&gt;</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4079</link>
    <description>&lt;pre&gt;Hi y'all,

I'm using xsltproc to do some fairly easy transformations, but I've
run into following problem: if I use as little as one &amp;lt;xsl:text&amp;gt;
element in my stylesheet, the resulting file will be nowhere near
pretty-printed, but garbled up into several mile-long lines. That does
not affect machine-readability, but it does affect human-readability.
Without this text element, the otherwise unchanged XML output will be
nicely printed, as expected. Why is this happening and how do I
prevent it? Thanks for any help.

Jan

P.S. I'm using Ubuntu 10.10 and the default version of libxslt that
comes with it.
&lt;/pre&gt;</description>
    <dc:creator>Jan Kotuc</dc:creator>
    <dc:date>2011-07-26T15:20:59</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4075">
    <title>[Patch] Bug 652766 - Output should not include extraneous newlines when indent is off</title>
    <link>http://comments.gmane.org/gmane.comp.gnome.lib.xslt/4075</link>
    <description>&lt;pre&gt;I'm not sure what the process is for getting a patch reviewed and
merged, so thought I'd try a quick email to this list as well as
posting it to the bug tracker:
https://bugzilla.gnome.org/show_bug.cgi?id=652766

The output from xsltSaveResultTo currently adds extra newlines at the
root even when indent="off". The patch attached to the ticket makes
these conditional, matching behaviour of xmlSaveOption XML_SAVE_FORMAT
off.

Laurence
&lt;/pre&gt;</description>
    <dc:creator>Laurence Rowe</dc:creator>
    <dc:date>2011-07-19T15:20:18</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.gnome.lib.xslt">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.gnome.lib.xslt</link>
  </textinput>
</rdf:RDF>

