XWatch evaluation error

Having trouble installing Oxygen? Got a bug to report? Post it all here.
kilhor
Posts: 15
Joined: Thu Jun 10, 2004 1:51 pm
Location: ETH Zurich, Switzerland

XWatch evaluation error

Post by kilhor »

Dear, I battle the following problem with XWatch when debugging XSLT.

Having this XSL

Code: Select all


<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0">
<xsl:output />
<xsl:template match="//xs:element">
Found.
</xsl:template>
</xsl:stylesheet>
and this XML (here by accident XML Schema)

Code: Select all


<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright P&P Software GmbH (Zurich, Switzerland) -->
<xs:schema targetNamespace="xxx" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2001/XMLSchema schema.schema">
<xs:element name="Comment" type="xs:string"/>
</xs:schema>
When using the XWatch while debuging and asking for /* I get the NodeSet that contains xs:schema -- that's fine. BUT if I ask for /xs:schema I get an error. What is wrong?

Thanks & Regards

Kilhor


PS: The problem is not limited to the example above, this is just a test case.[/b]
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Problem solved

Post by Radu »

Dear Kilhor,

Thank you for reporting this problem.
The problem was solved for all the debugging processors and the fix will be available in the next release.



Regards,
Radu.
kilhor
Posts: 15
Joined: Thu Jun 10, 2004 1:51 pm
Location: ETH Zurich, Switzerland

Post by kilhor »

Thanks for answer. In the meantime, does it help to migrate from Saxon to some other XSLT processor that doesn't have this problem?
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi Kilhor,

No, the debugger implementation based on Xalan has the same behavior.

Best Regards,
George
Post Reply