W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2004

Schema Parsing Error

From: Tony Fares <Tony.Fares@Oracle.com>
Date: Wed, 23 Jun 2004 23:54:23 +0400
To: <xmlschema-dev@w3.org>
Cc: <tony.fares@Oracle.com>
Message-ID: <PHENJGDFMJPEBOBLGEMOGEHJCBAA.Tony.Fares@oracle.com>

Hi,

I am getting the following error, and I appreciate if someone could help

"org.xml.sax.SAXParseException: General Schema Error: Grammar with uri 2: http://www.imsglobal.org/xsd/imscp_rootv1p1p2 , can not found.
        at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1060)
        at org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLError(XMLValidator.java:1446)
        at org.apache.xerces.validators.common.XMLValidator.validateElementAndAttributes(XMLValidator.java:2736)
        at org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:924)
        at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1858)
        at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1001)
        at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
"


My instance file:

<?xml version="1.0" encoding="UTF-8"?>
<manifest identifier="MANIFEST1" version="1.1" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:imsmd="http://www.imsglobal.org/xsd/imsmd_v1p2" 
xmlns="http://www.imsglobal.org/xsd/imscp_rootv1p1p2"

xmlns:myxrmlext="d:\MyFiles\PHD\ide-userdir\sampledir\test\My_XrMLDRMschema_v1" 
xsi:schemaLocation="http://www.imsglobal.org/xsd/imscp_rootv1p1p2 imscp_rootv1p1p2.xsd
    http://www.imsglobal.org/xsd/imsmd_v1p2 imsmd_v1p2p2.xsd 
d:\MyFiles\PHD\ide-userdir\sampledir\test\My_XrMLDRMschema_v1 My_XrMLDRMschema_v1.xsd">



My Schema file:

?xml version="1.0"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by hanan (Personal) -->
<!-- <?xml version="1.0" encoding="UTF-8" ?> -->

<xsd:schema 
xmlns:myext="d:\MyFiles\PHD\ide-userdir\sampledir\test\My_XrMLDRMschema_v1"
targetNamespace="d:\MyFiles\PHD\ide-userdir\sampledir\test\My_XrMLDRMschema_v1"  
xmlns:drm="http://www.xrml.org/schema/2001/11/xrml2cx" xmlns:xrml2="http://www.xrml.org/schema/2001/11/xrml2core" xmlns:xe="http://www.xrml.org/schema/2001/11/xrml2sx"   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xsd:import namespace="http://www.xrml.org/schema/2001/11/xrml2cx" schemaLocation="xrml2cx.xsd"/>
Received on Thursday, 24 June 2004 02:44:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:44 GMT