Project

Profile

Help

Bug #5733

open

Response ?status datatype

Added by Martynas Jusevicius 16 days ago. Updated 16 days ago.

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

0%

Estimated time:
Applies to JS Branch:
2
Fix Committed on JS Branch:
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 16 days ago

The variable is defined as follows:

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

Updated by Debbie Lockett 16 days 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.

Please register to edit this issue

Also available in: Atom PDF Tracking page