After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 549962 - irrelevant error: Namespace prefix is not defined
irrelevant error: Namespace prefix is not defined
Status: RESOLVED FIXED
Product: libxslt
Classification: Platform
Component: general
1.1.x
Other All
: Normal critical
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2008-08-30 17:10 UTC by ruv
Modified: 2008-10-02 17:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
first input document (103 bytes, text/xml)
2008-08-30 17:16 UTC, ruv
Details
second input document (it loaded through document() function) (1022 bytes, text/xml)
2008-08-30 17:17 UTC, ruv
Details
the stylesheet itself (753 bytes, text/xml)
2008-08-30 17:18 UTC, ruv
Details

Description ruv 2008-08-30 17:10:40 UTC
Version details: libxml 20632, libxslt 10123 and libexslt 813
Note: this bug had not appearing in the libxslt 10117

Steps to Reproduce:
  > xsltproc test.xsl input1.xml >output.xml

(test-case will be attached)


Actual Results: outputs many errors such as the following —
  input2.xml:18: namespace error : Namespace prefix ss for StyleID on Cell is not defined
    <Cell ss:StyleID="m18892530"><Data ss:Type="Number">9</Data></Cell>
                                ^

Expected Results: There should be no any errors.


Additional Information:
  Error disappears, if you delete some lines in the input documents.
  For example, delete the $d variable declaration from test.xsl or some Cells in the input2.xml


This is similar to the case described on the
  http://www.mail-archive.com/docbook-apps@lists.oasis-open.org/msg11297.html

and also: http://article.gmane.org/gmane.comp.lib.boost.documentation/3462
Comment 1 ruv 2008-08-30 17:16:00 UTC
Created attachment 117650 [details]
first input document
Comment 2 ruv 2008-08-30 17:17:14 UTC
Created attachment 117651 [details]
second input document (it loaded through document() function)
Comment 3 ruv 2008-08-30 17:18:31 UTC
Created attachment 117652 [details]
the stylesheet itself

The test-case includes three files: test.xsl, input1.xml, input2.xml
Comment 4 ruv 2008-10-02 17:13:36 UTC
The bug has been fixed now. The testcase passed with no errors by xsltproc over libxml 20701, libxslt 10124 and libexslt 813