title: cannot validate XML against XSD
body: <p>I keep getting 2 errors trying to process my XML; says it's not a valid OAGIS doc.  My XML is simple.  The XSD is NotifyCatalog.xsd from OAGIS 9_6_1  When I use xmlvalidation.com it says:</p>
  
  <blockquote>
    <p>Errors in the XML document:   2:  317 cvc-elt.1: Cannot find the
    declaration of element 'NotifyCatalog'.</p>
    
    <p>Errors in file xml-schema:    27: 233 TargetNamespace.2: Expecting no
    namespace, but the schema document has a target namespace of
    '<a href="http://www.openapplications.org/oagis/9" rel="nofollow noreferrer">http://www.openapplications.org/oagis/9</a>'.</p>
  </blockquote>
  
  <p>Please help!   XML below, XSD is >6000 lines, but I can attach if you like.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;NotifyCatalog xmlns:xs="http://www.openapplications.org/oagis/9" targetNamespace:ibts="http://www.openapplications.org/oagis/9" versionID="9_4" releaseID="9_4" systemEnvironmentCode="Production"&gt;
    &lt;ApplicationArea&gt;
      &lt;Sender&gt;
        &lt;LogicalID&gt;MRP&lt;/LogicalID&gt;
        &lt;ComponentID&gt;WID&lt;/ComponentID&gt;
        &lt;TaskID/&gt;
        &lt;ReferenceID&gt;9990000000001568&lt;/ReferenceID&gt;
        &lt;ConfirmationCode&gt;OnError&lt;/ConfirmationCode&gt;
        &lt;AuthorizationID&gt;AUTOSYS&lt;/AuthorizationID&gt;
      &lt;/Sender&gt;
      &lt;CreationDateTime&gt;2017-03-21T15:10:08.551&lt;/CreationDateTime&gt;
      &lt;BODID&gt;CATALOG-0000000000001&lt;/BODID&gt;
    &lt;/ApplicationArea&gt;
     &lt;DataArea&gt;
        &lt;Notify&gt;
           &lt;ActionCriteria&gt;
              &lt;ActionExpression actionCode="Add"&gt;/NotifyCatalog/DataArea/Catalog/CatalogLine[Attachment/EmbeddedData=&amp;apos;jimmy.pdf&amp;apos;]&lt;/ActionExpression&gt;/&gt;
           &lt;/ActionCriteria&gt;
        &lt;/Notify&gt;
        &lt;Catalog&gt;
           &lt;CatalogHeader&gt;
              &lt;DocumentID agencyRole="PLM"&gt;
                 &lt;ID/&gt;
                 &lt;RevisionID/&gt;
                 &lt;VariationID/&gt;
              &lt;/DocumentID&gt;
              &lt;Description&gt;HeaderPlasmaMonitorEBOM.pdf&lt;/Description&gt;
           &lt;/CatalogHeader&gt;
           &lt;CatalogLine&gt;
              &lt;Item&gt;
                 &lt;ItemID agencyRole="PLMDocument"&gt;
                    &lt;ID&gt;29433&lt;/ID&gt;
                    &lt;RevisionID&gt;003&lt;/RevisionID&gt;
                 &lt;/ItemID&gt;
                     &lt;Description languageID="en-us"&gt;LinePlasmaMonitorEBOM.pdf&lt;/Description&gt;
                     &lt;Specification type="SecurityGroup"&gt;
                            &lt;Property&gt;
                               &lt;NameValue name="SecurityGroup"&gt;PU&lt;/NameValue&gt;
                            &lt;/Property&gt;            
                     &lt;/Specification&gt;
  &lt;!--                   &lt;UserArea&gt;                         &lt;ibts:AttachmentUserArea/&gt;                   &lt;/UserArea&gt;--&gt;
              &lt;/Item&gt;
              &lt;Attachment type="Thumbnail"&gt;
                 &lt;EmbeddedData mimeCode="normalizedString"&gt;jimmy.pdf&lt;/EmbeddedData&gt;
              &lt;/Attachment&gt;
           &lt;/CatalogLine&gt;
        &lt;/Catalog&gt;
     &lt;/DataArea&gt;
  &lt;/NotifyCatalog&gt;
  </code></pre>