I researched everywhere I could but cannot find the mistake when I receive this error: cvc-elt.1: Cannot find the declaration of element 'EMSDataSet'.
Here are some details. 1) My "NHTSA12190.xml" file begins like this: <EMSDataSet xmlns="http://www.nemsis.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.nemsis.org/XSD/EMSDataSet4.xsd"> <Header> <D01_01>123</D01_01> <D01_03>42</D01_03> 2) My "EMSDataSet4.xsd" document begins like this: <?xml version="1.0" encoding="UTF-8" ?> <xs:schema targetNamespace="http://www.nemsis.org" xmlns="http://www.nemsis.org" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:include schemaLocation="E00_ReferenceTables.xsd" /> <xs:include schemaLocation="E01_RecordInformation.xsd" /> <xs:include schemaLocation="E02_UnitAgencyInformation.xsd" /> 3) In my code I am setting thte Features: "http://xml.org/sax/features/validation", true); "http://apache.org/xml/features/validation/schema", true "http://apache.org/xml/features/validation/schema-full-checking, true and Properties: http://apache.org/xml/properties/external-noNamespaceScemaLocation, "D:\InetPub_Vault\emsi_mx\xml\EMSDataSet4.xsd" (I've also tried not setting this property) Thanks! Adam C. Mihlfried Software Developer Center for Emergency Medicine 10 Allegheny County Airport, West Mifflin, PA 15122 Email:[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]