Relative Content

Tag Archive for xmlxsdxsd-validationxml-validation

What’s the issue with this XML? [duplicate]

This question already has answers here: What does elementFormDefault do in XSD? (6 answers) Closed 2 days ago. I’m trying to understand what is the issue with this xml file: <?xml version=”1.0″ encoding=”UTF-8″?> <Request xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://website.com/types Types.xsd” xmlns=”http://website.com/types” version=”1.0″> <Type>ONE</Type> <FileName>request.xml</FileName> <File>base64_encoded_file_which_seems_to_be_ok</File> </Request> the xsd is: <?xml version=”1.0″ encoding=”UTF-8″?> <xs:schema xmlns:xs=”http://www.w3.org/2001/XMLSchema” xmlns:ds=”http://www.w3.org/2000/09/xmldsig#” xmlns=”http://website.com/types” targetNamespace=”http://website.com/types” version=”1.0″> […]