Project

Profile

Help

Bug #6539

closed

PySaxonProcessor.parse_json does not create a PyXdmMap

Added by O'Neil Delpratt 3 months ago. Updated 11 days ago.

Status:
Resolved
Priority:
Normal
Category:
-
Start date:
2024-09-18
Due date:
% Done:

100%

Estimated time:
Applies to branch:
12, trunk
Fix Committed on Branch:
12, trunk
Fixed in Maintenance Release:
Found in version:
12.5
Fixed in version:
SaxonC Languages:
Python
SaxonC Platforms:
All, Linux, Windows, macOS
SaxonC Architecture:

Description

The following example fails in producing the correct subtype when parsing JSON on the PySaxonProcessor:

json1 = """{ "test" : "This is a test. Price is higher than 25 €. " }"""

parsed_json1 = proc.parse_json(json_text=json1)
print(type(parsed_json1.head))

I tried to get the map or function but both fails.

Actions #1

Updated by O'Neil Delpratt 25 days ago

  • Assignee set to O'Neil Delpratt
Actions #2

Updated by O'Neil Delpratt 11 days ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Fix Committed on Branch 12, trunk added

Tested this again today and it looks we have fixed this issue.

Please register to edit this issue

Also available in: Atom PDF