Benjamin Keil <[EMAIL PROTECTED]> wrote on 04/30/2006 09:54:01 PM:

> Hello all,
> 
>   I'm trying to put together a schema that would allow inline SVG
> elements, but I'm having a lot of trouble making this work.
> 
> The main problem seems to be coming from the SVG schema
> (from http://www.w3.org/TR/2002/WD-SVG11-20020108/SVG.xsd )

This schema document has a DTD (XMLSchema.dtd) which references another 
document (datatypes.dtd) that doesn't exist at the specified location. The 
working draft of SVG [1] you're using says: "this schema is still in 
development and is being tested" so it's possible there were other 
problems with this version.

error: Parse error occurred - 
http://www.w3.org/TR/2002/WD-SVG11-20020108/datatypes.dtd
java.io.FileNotFoundException: 
http://www.w3.org/TR/2002/WD-SVG11-20020108/datatypes.dtd
        at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:682)
        at 
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:959)
        at 
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:871)
        at 
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:809)
        at 
org.apache.xerces.impl.XMLDTDScannerImpl.startPE(XMLDTDScannerImpl.java:640)
        at 
org.apache.xerces.impl.XMLDTDScannerImpl.skipSeparator(XMLDTDScannerImpl.java:2022)
        at 
org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(XMLDTDScannerImpl.java:1984)
        at 
org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubset(XMLDTDScannerImpl.java:276)
        at 
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:993)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:323)
        at 
org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:844)
        at 
org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:767)
        at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:107)
        at 
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1127)

<snip/>

> Thanks in advance for any help,
> Benjamin Keil.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

[1] http://www.w3.org/TR/2002/WD-SVG11-20020108/#schema

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to