Skip to content

xd:string "0xF2" => 242 #536

@luddwskater

Description

@luddwskater
  • Are you running the latest version? yes
  • Have you included sample input, output, error, and expected output? yes
  • Have you checked if you are using correct configuration? yes
  • Did you try online tool? yes

Description

Parser transform hex to integer but builder doesn't transform back to hex but also transform hex (string) to integer.

Input

		<SupportedTesters>
			<SupportedTester>0xF2</SupportedTester>
		</SupportedTesters>

Code

const options = {
        ignoreAttributes: false,
        attributeNamePrefix : "@_",
		allowBooleanAttributes: true
    };

Output

SupportedTesters
:
SupportedTester
:
242
[[Prot

expected data

0<F2
Would you like to work on this issue?

  • Yes
  • No

Bookmark this repository for further updates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions