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 670610 - Request: extension function saxon:column-number() to libxslt / xsltproc
Request: extension function saxon:column-number() to libxslt / xsltproc
Status: RESOLVED OBSOLETE
Product: libxslt
Classification: Platform
Component: general
1.1.26
Other All
: Normal enhancement
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
: 670611 670612 (view as bug list)
Depends on: 765832
Blocks:
 
 
Reported: 2012-02-22 14:17 UTC by Darcy
Modified: 2021-07-05 11:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Darcy 2012-02-22 14:17:45 UTC
I find libxslt's / xsltproc's implementation of saxon:line-number() to be very useful and would appreciate having saxon:column-number() implemented too.

I can use saxon's excellent XSLT processor to get this capability.  But I prefer xsltproc because it starts up and runs the transforms quicker. And I need saxon:column-number().  (It's for an XSLT ctags generator.)

I am hoping it will be quick for someone who understands the code base to reference the saxon:line-number() implementation in libexslt/saxon.c and implement a similar saxon:column-number() extension function for me.

Thanks
Comment 1 Darcy 2012-02-22 14:24:09 UTC
*** Bug 670611 has been marked as a duplicate of this bug. ***
Comment 2 Darcy 2012-02-22 18:05:56 UTC
*** Bug 670612 has been marked as a duplicate of this bug. ***
Comment 3 Darcy 2012-02-22 18:20:37 UTC
saxon:column-number() description: http://www.saxonica.com/documentation/extensions/functions/columnnumber.xml
Comment 4 Nick Wellnhofer 2016-04-29 13:47:52 UTC
This would be easy to implement if libxml2 stored each node's column number, but unfortunately, it doesn't. If you're still interested in this feature, you can open a feature request for libxml2.
Comment 5 Darcy 2016-04-30 00:01:26 UTC
Thanks @Nick. I filed https://bugzilla.gnome.org/show_bug.cgi?id=765832
Comment 6 GNOME Infrastructure Team 2021-07-05 11:01:03 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/libxslt/-/issues/

Thank you for your understanding and your help.