O'Neil Delpratt
- Login: ond1
- Email: oneil@saxonica.com
- Registered on: 2012-01-26
- Last connection: 2024-03-19
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 35 | 642 | 677 |
Reported issues | 23 | 402 | 425 |
Projects
Project | Roles | Registered on |
---|---|---|
Saxon | Manager, Developer, Reporter | 2012-01-27 |
Saxon-CE | Developer, Reporter | 2012-02-01 |
SaxonC | Manager, Developer, Reporter | 2013-11-28 |
SaxonJS | Manager, Developer, Reporter | 2016-08-11 |
SaxonMirrorHE | Manager, Developer | 2021-02-02 |
Activity
2024-02-28
-
The methods `getLinenumber()` and `getColumnNumber()` have been added to the the XdmNode on C++, Python and PHP APIs.
Tests cases added. But still doing some testing on PHP. Bug #6351 (In Progress): Getting the line number is not available via the API on XdmNodeReported by user here: https://stackoverflow.com/questions/78008394/how-do-i-get-the-line-numbers-of-a-saxonc-xpath-match/78009287#78009287
There is no straight forward way to get the line number on a XdmNode in C++, PHP and Python.
...
2024-02-23
-
Bug fixed and committed to the repository Bug #6358 (Resolved): exception not thrown for executable->transformToString() if source is nullI have noticed in the following PHP code that the underlying exception is not thrown, but $result is just returned as NULL:
``` php
$transformer = self::$saxonProc->newXslt30Processor();
$foo_xml = "trax/xml/foo.xml";... -
Bug fixed and committed to repository. The real problem here is how the source document is supplied. In the example above we set the sources as `setInitialMatchSelectionAsFile`. We failed to pass this as the source in the internals of `t... Bug #6360 (Resolved): setOutputFile does not seem to work with transformToFile()Writing to a file with `setOutputFile` does not seem to work with `transformToFile()`
In the following example the `resultForTransformWithoutArgument.xml` is not created and no exception is thrown:
``` php
$transformer = s...
2024-02-22
-
Bug #6360 (Resolved): setOutputFile does not seem to work with transformToFile()Writing to a file with `setOutputFile` does not seem to work with `transformToFile()`
In the following example the `resultForTransformWithoutArgument.xml` is not created and no exception is thrown:
``` php
$transformer = s... -
Bug #6358 (Resolved): exception not thrown for executable->transformToString() if source is nullI have noticed in the following PHP code that the underlying exception is not thrown, but $result is just returned as NULL:
``` php
$transformer = self::$saxonProc->newXslt30Processor();
$foo_xml = "trax/xml/foo.xml";... -
I have increased the refCount of the XdmValue used in the `setInitialMatchSelection` method. The GC in PHP will get rid of the object after the `applyTemplatesReturningString` is called. This is really a partial fix for SaxonC 12. Bug #6357 (Resolved): Exception: Source object is not of type (String, XdmValue or XdmValue[]). Line number: -1The following PHP script fails with the exception below:
``` php
$transformer = self::$saxonProc->newXslt30Processor();
$source = "<?xml version='1.0'?>" .
" <xsl:stylesheet xmlns:xsl='htt...
2024-02-21
-
This is a classic case of where we are not assigning XdmAtomicValue to a variable and therefore not increasing the refCount. This results in the object getting garbage collected before use in the processor. Bug #6357 (In Progress): Exception: Source object is not of type (String, XdmValue or XdmValue[]). Line number: -1The following PHP script fails with the exception below:
``` php
$transformer = self::$saxonProc->newXslt30Processor();
$source = "<?xml version='1.0'?>" .
" <xsl:stylesheet xmlns:xsl='htt... -
``` php
$transformer = self::$saxonProc->newXslt30Processor();
$source = "<?xml version='1.0'?>" .
" <xsl:stylesheet xmlns:xsl='htt... -
Bug #6356 (Resolved): ArgumentCountError: Wrong parameter count for Saxon\XSLTExecutable::applyTemplatesReturningFile()Simple PHP script `$executable->applyTemplatesReturningFile("output123.xml")` where we pass the output file name fails with the following error:
```
ArgumentCountError: Wrong parameter count for Saxon\XSLTExecutable::applyTemplatesRe... -
The workaround is to set the output file using the `setOutputFile` method.
Also available in: Atom