#41721 [NEW]: Implement publically accessible interface for line numbers
| From: | ezyang@php.net | Date: | Mon, 18 Jun 2007 01:47:59 +0000 |
| Subject: | #41721 [NEW]: Implement publically accessible interface for line numbers | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-113881@lists.php.net to get a copy of this message | ||
From: ezyang@php.net
Operating system:
PHP version: 5CVS-2007-06-18 (CVS)
PHP Bug Type: DOM XML related
Bug description: Implement publically accessible interface for line numbers
Description:
------------
This is a feature request.
The DOM extension currently offers no easy way of accessing the original
line numbers of nodes. While I understand that the DOM specification
currently defines no way of retrieving such data, I believe the benefits of
a proprietary property far outweigh the possible interoperability
concerns.
It should be noted that libxml already contains this functionality, and
line numbers are accessible via saxon:line-number() (this was fixed in Bug
#34103). Theoretically, it is possible to retrieve this information by
running the document through a special EXSLT stylesheet and then
cross-referencing with the output: this strikes me as quite overkill.
--
Edit bug report at http://bugs.php.net/?id=41721&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41721&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41721&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41721&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=41721&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=41721&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=41721&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=41721&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=41721&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=41721&r=support
Expected behavior: http://bugs.php.net/fix.php?id=41721&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=41721&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=41721&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=41721&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41721&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=41721&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=41721&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=41721&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=41721&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=41721&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=41721&r=mysqlcfg