The problem is with these lines in xsd2cam.xsl (starting at line 306):
------------------------------------------
------------------------------------
Two incorrect...
From what I can figure the conversion process tries to write all namespace nodes at the root element of the CAM template tree. This will not work with the 3 schemas I have provided unless prefixes are renamed.
net.sf.saxon.trans.XPathException: Cannot create two namespace nodes with the same prefix mapped to different URIs (prefix=ns1, URI=urn:ns2, URI=urn:ns1)
when creating CAM template from test1.xsd (attached) using CAMed 1.6.3.2
---------
This is the issue I was referring to in one of my earlier emails to David. It is perfectly valid for different schemas to use the same prefix when...