Actions
Bug #2272
closedXdmNode.BaseUri throws exception when NodeInfo.getBaseURI() returns null
Start date:
2014-12-22
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:
Updated by O'Neil Delpratt almost 10 years ago
- Status changed from New to In Progress
- Assignee set to O'Neil Delpratt
- Priority changed from Low to Normal
Thanks for reporting the bug you found looking at it now.
Updated by O'Neil Delpratt almost 10 years ago
Hi, do you have a code snippet that reproduces the problem please?
Updated by Max Toro almost 10 years ago
var processor = new Processor();
var docb = processor.NewDocumentBuilder();
var node = docb.Build(XmlReader.Create(new StringReader("<a/>")));
Console.WriteLine(node.BaseUri);
Updated by O'Neil Delpratt almost 10 years ago
- Status changed from In Progress to Resolved
Thanks for sending the repo. I managed to reproduce it. A similar fix has been applied to the BaseUri property in the XdmNode class which will be available in the next release.
As a workaround if possible you could set the baseUri where you create the XmlReader:
XmlReader reader = XmlReader.Create(new StringReader("<a/>"), null, "http://example.com");
Updated by O'Neil Delpratt almost 10 years ago
- Status changed from Resolved to In Progress
I am opening this again as the fix was not complete. I have created some nunit test cases to test for regression in future release.
Updated by O'Neil Delpratt almost 10 years ago
Bug fixed now in the Model.cs file. Fix committed to subversion.
Updated by O'Neil Delpratt almost 10 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Updated by O'Neil Delpratt almost 10 years ago
- Found in version changed from 9.6.0.3 to 9.6
Updated by O'Neil Delpratt almost 10 years ago
- Fixed in version set to 9.6.0.4
Bug fix applied in the Saxon 9.6.0.4 maintenance release.
Updated by O'Neil Delpratt almost 10 years ago
- Status changed from Resolved to Closed
Updated by O'Neil Delpratt almost 9 years ago
- Sprint/Milestone set to 9.6.0.4
- Applies to branch 9.6 added
- Fix Committed on Branch 9.6 added
- Fixed in Maintenance Release 9.6.0.4 added
Updated by O'Neil Delpratt almost 9 years ago
- Sprint/Milestone changed from 9.6.0.4 to 9.6.0.3
- Fixed in Maintenance Release 9.6.0.3 added
- Fixed in Maintenance Release deleted (
9.6.0.4)
Updated by O'Neil Delpratt almost 9 years ago
- Sprint/Milestone changed from 9.6.0.3 to 9.6.0.4
- Fixed in Maintenance Release 9.6.0.4 added
- Fixed in Maintenance Release deleted (
9.6.0.3)
Please register to edit this issue
Actions