Project

Profile

Help

Bug #5733

closed

Response ?status datatype

Added by Martynas Jusevicius over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Low
Category:
Documentation
Sprint/Milestone:
-
Start date:
2022-11-11
Due date:
% Done:

100%

Estimated time:
Applies to JS Branch:
2
Fix Committed on JS Branch:
2, Trunk
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

Response ?status is documented as xs:integer, but I think I'm getting xs:double instead?

xsl:variable name=\"Q{}status-code\"' expression is xs:integer; supplied value is xs:double('413')

Not a big deal, but wanted to check :)

Actions #1

Updated by Martynas Jusevicius over 1 year ago

The variable is defined as follows:

<xsl:variable name="status-code" select="?status" as="xs:integer"/>
Actions #2

Updated by Debbie Lockett over 1 year ago

  • Category set to Documentation

Yes, sorry you're right, the documentation is wrong - it's a xs:double (as converted from a JS Number). I'll correct that.

Actions #3

Updated by Norm Tovey-Walsh about 1 year ago

  • Assignee set to Debbie Lockett
Actions #4

Updated by Debbie Lockett about 1 year ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
  • Fix Committed on JS Branch 2, Trunk added

SaxonJS documentation corrected: fix committed on main and saxonjs2 branches; and SaxonJS 2 documentation updated online.

Please register to edit this issue

Also available in: Atom PDF Tracking page