xae problem

Paul Kinnucan <[email protected]> Sun, 16 Mar 2003 15:05:27 -0500
Newsgroups gmane.emacs.xae
Message-ID <[email protected]>
Bruce D'Arcus writes:
 > 
 > HI Paul,
 > 
 > Just installed emacs and xae on my new iMac, which has the latest OS  
 > and Java 1.4.1 installed.  I am getting this error when trying to run  
 > the HTML transformation.  Seems it can't read the DTD, though I'm not  
 > sure why (since I can insert elements and so forth fine to actually  
 > create the doc).  Any ideas?
 > 
 > Bruce
 > 
 > 
 > XAE Services
 > 
 > apply_assoc_stylesheet  
 > file:///Users/darcusb/Documents/testdocs/xml/xaetest.xml  
 > /Users/darcusb/Documents/testdocs/xml/xaetest.html
 >  > Failed while looking for xml-stylesheet PI
 > Cannot read from  
 > file://Users/darcusb/xae-1.0beta8/doctypes/docbook/docbookx.dtd (Users)

I believe the problem is with the format of the path of the dtd 
in the DOCTYPE declaration in xaetest.html. Saxon is finicky about
the number of slashes used after file:. If the path has three slashes,
try two and see if that works any better. Let me know what happens.

- Paul


 > At line 3 in file:/Users/darcusb/Documents/testdocs/xml/xaetest.xml
 > javax.xml.transform.TransformerConfigurationException:  
 > org.xml.sax.SAXParseException: Cannot read from  
 > file://Users/darcusb/xae-1.0beta8/doctypes/docbook/docbookx.dtd (Users)
 > 	at  
 > com.icl.saxon.TransformerFactoryImpl.getAssociatedStylesheet(Transformer 
 > FactoryImpl.java:255)
 > 	at  
 > xae.XSLTransformer.applyAssociatedStylesheet(XSLTransformer.java:133)
 > 	at xae.XMLToolServer.applyAssociatedStylesheet(XMLToolServer.java:143)
 > 	at xae.XMLToolServer.processCommand(XMLToolServer.java:94)
 > 	at xae.XMLToolServer.run(XMLToolServer.java:79)
 > 	at xae.XMLToolServer.main(XMLToolServer.java:59)
 > Caused by: org.xml.sax.SAXParseException: Cannot read from  
 > file://Users/darcusb/xae-1.0beta8/doctypes/docbook/docbookx.dtd (Users)
 > 	at com.icl.saxon.aelfred.SAXDriver.error(SAXDriver.java:848)
 > 	at com.icl.saxon.aelfred.XmlParser.error(XmlParser.java:463)
 > 	at com.icl.saxon.aelfred.XmlParser.error(XmlParser.java:485)
 > 	at com.icl.saxon.aelfred.XmlParser.pushURL(XmlParser.java:3619)
 > 	at com.icl.saxon.aelfred.XmlParser.parseDoctypedecl(XmlParser.java:901)
 > 	at com.icl.saxon.aelfred.XmlParser.parseProlog(XmlParser.java:614)
 > 	at com.icl.saxon.aelfred.XmlParser.parseDocument(XmlParser.java:508)
 > 	at com.icl.saxon.aelfred.XmlParser.doParse(XmlParser.java:163)
 > 	at com.icl.saxon.aelfred.SAXDriver.parse(SAXDriver.java:320)
 > 	at  
 > com.icl.saxon.TransformerFactoryImpl.getAssociatedStylesheet(Transformer 
 > FactoryImpl.java:240)
 > 	... 5 more

_______________________________________________
XAE mailing list
[email protected]
http://sunsite.dk/mailman/listinfo/xae