Skip to content

public static String org.json.XML.toString(Object) produces invalid XML #569

Description

@ConradMoeller

{
"tag":{
"two":"two",
"one":1,
"three":{
"five":"üäö#+!"§$%/()=?´`",
"four":4,
"six":{
"seven":{
"type":"seven",
"8eight":8
}
}
}
}
}

The json example generates a xml with element <8eight> but elements with a number are illegal. That causes an error generating a dom from the return value.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions