Skip to content

If XML Data has XML declarations, boom! #39

@anelad

Description

@anelad

I have a XML data below. I cannot parse that because it has some XML declarations. Am I doing something wrong? Or do I have to delete declarations manually?

<?xml version="1.0" encoding="utf-8"?>
<OBJECT xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://example.com/">
  <NAME>name</NAME>
  <CODE>nm</CODE>
  <ID>10001</ID>
</OBJECT>

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