Subject:References in Target schema in XSLT mapper Author:Emile Hermans Date:13 Feb 2006 09:43 AM Originally Posted: 13 Feb 2006 09:37 AM
I'm working on a customers PC and have to investigate if upgrading is feasible.
will come back on that.
I tested it on our companies version of stylus studio prof editon 2006 Build 501h -> same problem on this version
Subject:References in Target schema in XSLT mapper Author:Minollo I. Date:13 Feb 2006 09:54 AM
Yes, I have been able to see the same problem on BL501h too.
BTW, a "quick" workaround is to use an XML instance document consistent with that schema, instead of the schema itself; using Stylus Studio 2006 (that has improved that functionality) you can run the XML Schema to XML document wizard and generate a sample XML document for MainSchema.xsd; the full generation will create a largish XML document; you may want to accept the suggestion prompted by Stylus Studio to stop the generation after 5,000 elements.
Subject:References in Target schema in XSLT mapper Author:Minollo I. Date:13 Feb 2006 04:25 PM
in the meanwhile we have been investigating the problem, and the issue seems to be related to the fact that Xerces C++, which is the underlying XML Schema interpreter Stylus Studio uses, doesn't "like" your XML Schema. In particular, it doesn't like:
<xsd:element ref="ZMATMAS2" xmlns=""/>
You can see that clicking the "Validate" button when MainSchema.xsd is open in Stylus Studio. If you change your "MainSchema.xsd" to avoid redefining the default namespace, and to avoid using xmlns="" when using ZMATMAS2, things will work fine:
<?xml version="1.0" encoding="UTF-8"?>
<!--You can skip myNS declaration if you don't need to reference it in this document-->
<xsd:element name="Message1" form="qualified">