locked
Error: cvc-complex-type.3.2.2 for XML document RRS feed

  • Question

  • User-153404742 posted

    cvc-complex-type.3.2.2: Attribute 'xsi:schemaLocation' is not allowed to appear in element 'CurriculumInventory'.

    I've generated XML document from C# but when I try to upload it, the above error is generated.  I have the root tag as follows, having several attributes.  Is there another way to include attributes besides in the root node that won't cause this error?

    <CurriculumInventory xmlns:m="http://ns.medbiq.org/member/v1/" xmlns:hx="http://ns.medbiq.org/lom/extend/v1/" xmlns:co="http://ns.medbiq.org/competencyobject/v1/" xmlns:cf="http://ns.medbiq.org/competencyframework/v1/" xmlns:a="http://ns.medbiq.org/address/v1/" xmlns:lom="http://ltsc.ieee.org/xsd/LOM" xmlns="http://ns.medbiq.org/curriculuminventory/v1/" xmlns:xsi="http://ns.medbiq.org" xsi:schemaLocation="http://ns.medbiq.org/curriculuminventory/v1/curriculuminventory.xsd">

    Friday, August 14, 2015 3:33 PM

Answers