|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] document() with http arguments not working in saxon no
Hi Folks,
I have found a web site that dynamically generates XML documents. It is
the O'Reilly Meerkat web site. Here's an example of how to invoke it:
http://www.oreillynet.com/meerkat/?_fl=xml&s=REST
Read as: "give me all articles about REST. Send them to me as an XML
document" (_fl means flavor, i.e., flavor=XML)
Typing in this URL into a browser results in getting a nice XML document
containing info about articles on REST.
Now, when I try to retrieve that XML document within a stylesheet:
<xsl:variable name="Meerkat"
select="document('http://www.oreillynet.com/meerkat/?_fl=xml&s=REST')"/>
I get an error with both saxon and xerces. With saxon I get a popup
window that says:
saxon.exe has generated errors and will be closed by Windows. You will
need to restart the program. An error log is being created.
Note: I couldn't locate any log that saxon might have created.
With xalan I get this message:
(Location of error unknown)XSLT Error (java.lang.StackOverflowError):
null
The XML document that Meerkat returns is quite small, so I am puzzled by
the StackOverflow message.
Am I doing something wrong? I am using instant saxon 6.5.1, and xalan
2.3.1 /Roger
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
|

Cart








