Skip to content

Strange parsing #373

Answered by javadev
AntonAMorozov asked this question in Q&A
Aug 10, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @AntonAMorozov ,

Thank you for your question.

We have a check for the valid xml tag name. In case it is not valid we have a base32 routine.

You may add a character before number to make it visible.

{
  "root": {
    "a1333333": {
      "isFinished": true,
      "snils": "000-000-000 00"
    },
    "a76450243458_1_2": {
      "isFinished": true,
      "snils": "000-000-000 01"
    }
  },
  "#omit-xml-declaration": "yes"
}
<root>
  <a1333333>
    <isFinished boolean="true">true</isFinished>
    <snils>000-000-000 00</snils>
  </a1333333>
  <a76450243458_1_2>
    <isFinished boolean="true">true</isFinished>
    <snils>000-000-000 01</snils>
  </a76450243458_1_2>
</root>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AntonAMorozov
Comment options

Answer selected by javadev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants