Project

Profile

Help

Bug #3032

closed

Document constructed using DocumentBuilder.newBuildingContentHandler() has no base URI

Added by Michael Kay over 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
s9api API
Sprint/Milestone:
-
Start date:
2016-11-14
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.7
Fix Committed on Branch:
9.7, trunk
Fixed in Maintenance Release:
Platforms:

Description

The base URI set on a s9api DocumentBuilder should be passed on to any ContentHandler created using newBuildingContentHandler(), but this is not happening.

Actions #1

Updated by Michael Kay over 7 years ago

  • Status changed from New to Resolved

JUnit test added: TestBuildingContentHandler.testBaseUri().

Fixed with a simple patch to BuildingContentHandler.newBuildingContentHandler()

Actions #2

Updated by O'Neil Delpratt over 7 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 9.7.0.12 added

Bug fix applied in the Saxon 9.7.0.12 maintenance release.

Actions #3

Updated by Michael Kay over 7 years ago

The patch is incorrect and causes an NPE in the case where no base URI is available. Fixed.

Actions #4

Updated by O'Neil Delpratt almost 7 years ago

  • Applies to branch deleted (9.8)
  • Fix Committed on Branch trunk added
  • Fix Committed on Branch deleted (9.8)

Please register to edit this issue

Also available in: Atom PDF