LogicAppsUX icon indicating copy to clipboard operation
LogicAppsUX copied to clipboard

XML parse with schema errors out with Error details: Operation getXmlParseParameters is not implemented by the schema client.

Open codepic opened this issue 1 year ago • 0 comments

Describe the Bug with repro steps

  1. Create workflow with the attached json
  2. Create an xsd schema as follows:
<xs:schema id="MySchema" targetNamespace="rawxml"
  xmlns="rawxml"
  xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified">

  <xs:element name="SalesBatch">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Property1" type="xs:string"/>
        <xs:element name="Property2" type="xs:int"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>

</xs:schema>
  1. Open designer window on the workflow
  2. Observe the error in the screenshot

What type of Logic App Is this happening in?

Standard (VSCode)

Which operating system are you using?

Windows

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON

{
    "definition": {
        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
        "actions": {
            "XML_parse_with_schema": {
                "type": "XmlParse",
                "inputs": {
                    "content": "<SalesBatch xmlns=\"rawxml\">\n  <Property1>SampleValue</Property1>\n  <Property2>123</Property2>\n</SalesBatch>\n",
                    "schema": {
                        "source": "LogicApp",
                        "name": "MySchema.xsd"
                    },
                    "xmlReaderSettings": {
                        "dtdProcessing": "Prohibit",
                        "xmlNormalization": true,
                        "ignoreWhitespace": true,
                        "ignoreProcessingInstructions": true
                    },
                    "jsonWriterSettings": {
                        "ignoreAttributes": true,
                        "useFullyQualifiedNames": false
                    },
                    "rootNodeQualifiedName": "rawxml:SalesBatch"
                },
                "runAfter": {}
            }
        },
        "triggers": {
            "When_a_HTTP_request_is_received": {
                "type": "Request",
                "kind": "Http",
                "inputs": {
                    "method": "GET"
                }
            }
        },
        "contentVersion": "1.0.0.0",
        "outputs": {}
    },
    "kind": "Stateful"
}

Screenshots or Videos

Image

Browser

  • Edge

Additional context

This is an out-of-the-box project generated in VsCode

codepic avatar Apr 02 '25 18:04 codepic