Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Schema Parsing Error

From: "Tony Fares" <Tony.Fares@------.--->
To: <xmlschema-dev@--.--->
Date: 6/24/2004 3:54:00 AM
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.reportRecoverableXMLErro=
r(XMLValidator.java:1446)
        at =
org.apache.xerces.validators.common.XMLValidator.validateElementAndAttrib=
utes(XMLValidator.java:2736)
        at =
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLVali=
dator.java:924)
        at =
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentSca=
nner.java:1858)
        at =
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch=
(XMLDocumentScanner.java:1001)
        at =
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScann=
er.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_XrMLDRMsc=
hema_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_XrMLDRMsc=
hema_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"/>


From george@s...  Thu Jun 24 03:06:42 2004
Return-Path: <george@s...>
X-Original-To: xmlschema-dev@l...


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent