Dear Mark, Take a look at these two areas: > xmlns="info:lc/xlmns/premis-v2" > xsi:schemaLocation="info:lc/xlmns/premis-v2 It should be "xmlns". You mistakenly transposed the "l" and "m" Cordially, Kevin -- Kevin Ford Network Development and MARC Standards Office Library of Congress Washington, DC > -----Original Message----- > From: PREMIS Implementors Group Forum [mailto:[log in to unmask]] On > Behalf Of Mark Jordan > Sent: Friday, January 03, 2014 1:19 PM > To: [log in to unmask] > Subject: [PIG] Validating against > http://www.loc.gov/standards/premis/v2/premis.xsd > > Hello, > > I would appreciate if someone could tell me what I am doing wrong. I'm > sure it's something simple, so simple that I can't see it. > > Here is the root element I am using in my files: > > <premis xmlns="info:lc/xlmns/premis-v2" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="info:lc/xlmns/premis-v2 > http://www.loc.gov/standards/premis/v2/premis.xsd"> > > Validating using http://www.loc.gov/standards/premis/v2/premis.xsd > using xmllint results in the following error: > > "premis.xml:2: element premis: Schemas validity error : Element > '{info:lc/xlmns/premis-v2}premis': No matching global declaration > available for the validation root." > > Validating using http://www.freeformatter.com/xml-validator-xsd.html > produces: "Cannot Find The Declaration Of Element 'premis'.. Line '1', > Column '190'." > > Validating using http://www.utilities-online.info/xsdvalidation/ > produces a similar error (probably using the same XML parser libraries): > > "Not valid. Error - Line 2, 190: org.xml.sax.SAXParseException; > lineNumber: 2; columnNumber: 190; cvc-elt.1: Cannot find the > declaration of element 'premis'." > > There error don't make sense as the schema very clearly defines the > 'premis' root element. Googling is not getting me very far so I thought > I'd see if anyone has any suggestions. > > With thanks, > > Mark