[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: running msxml3 from command line
The problem is with external entities. My index.xml looks like this <?xml version="1.0"?> <!DOCTYPE page [ <!ENTITY pagehead SYSTEM "head.xml"> <!ENTITY toc SYSTEM "config/toc.xml"> <!ENTITY main SYSTEM "main.xml"> <!ENTITY right SYSTEM "right.xml"> <!ENTITY rss SYSTEM "rss/portalmdoc.xml"> <!ENTITY news SYSTEM "news/news.xml"> <!ENTITY vote SYSTEM "vote.xml"> ]> <?xml-stylesheet type="text/xsl" href="/xml/styles/toc.xsl"?> <page title="XML Main"> <pagehead> &pagehead; </pagehead> <pagetoc> &toc; </pagetoc> <pagemain> &main; </pagemain> <pageright> &right; </pageright> </page> Each of these files have a <?xml version="1.0"?> pi at the top. The new xml parser spits the dummy at this so it never even gets to the xsl processor. The stylesheet has the http://www.w3.org/TR/WD-xsl namespace but I am asured that it should be handled although I have no way of testing it at the moment. This has probably been asked before but is there a reason why the <?xml version="1.0"?> pi in external entities should cause a problem? Shouldn't they just be ignored? TIA Chris >-----Original Message----- >From: owner-xsl-list@xxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Sebastian Rahtz >Sent: 31 July 2000 21:55 >To: xsl-list@xxxxxxxxxxxxxxxx >Subject: RE: running msxml3 from command line > > >Chris Bayes writes: > > I can't say without seeing your docs > >sorry, maybe I wasnt clear. it was *you* doc that failed, I never made >it into your pages at all! the error came in >http://www.bayes.co.uk/xml/index.xml?/xml/utils/translate.xml > >actually, I found the thing on Ken Holman's site, pointed at the >Joshua Allen's pages, and that does the job fine. If my computer was >not still running my test files after 3 days (it sat for most of the >weekend in Sablotron :-}), I'd reboot it into Windows and get some >timings to compare MSMXSL3 to the other processors. It looks good and >fast. > >Sebastian > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|