1

I am getting this error and don't know how to fix it.

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"  
           xmlns:ds="http://www.w3.org/2000/09/xmldsig#" 
           attributeFormDefault="unqualified" elementFormDefault="qualified">
      <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" 
                 schemaLocation="xmldsig-core-schema.xsd">
        <xs:annotation>
          <xs:documentation>XML Digital Signature schema imported to support 
                            signatures of messages and contents.</xs:documentation>
        </xs:annotation>
      </xs:import>
      ....
      <xs:simpleType name="APP_base64" >
         <xs:annotation>
          <xs:documentation>Representación base64 de la imagen </xs:documentation>
         </xs:annotation>
         <xs:restriction base="base64Binary"/>
      </xs:simpleType>

This line gives a warning <xs:restriction base="base64Binary"/>

kjhughes
  • 106,133
  • 27
  • 181
  • 240
NoWar
  • 36,338
  • 80
  • 323
  • 498

1 Answers1

1

Change

<xs:restriction base="base64Binary"/>

to

<xs:restriction base="xs:base64Binary"/>
kjhughes
  • 106,133
  • 27
  • 181
  • 240
  • Hi! Would you mind to revise another XSD question please http://stackoverflow.com/questions/39834772/xsd-signature-issue – NoWar Oct 03 '16 at 15:17
  • @Dimi: Sure, I added an [**answer**](http://stackoverflow.com/a/39835453/290085) there for you. – kjhughes Oct 03 '16 at 16:14