Here are the jars that I use in my project

saxon-9.1.0.6.jar
saxon-xpath-9.1.0.6.jar
saxon9-dom-9.1.0.6.jar

BTW I had read about similar problem (not exactly the same) somewhere while searching for a solution on internet. It was some kind of bugzilla / Jira ticket contents & the problem was marked as fixed for saxon-9.2 version ( if i remember correctly -- Sorry i didn't bookmark the link to cross-verify)

Does this help !!

Thanks
Saurabh

On Fri, Dec 21, 2012 at 10:58 AM, Michael Kay <mike@saxonica.com> wrote:
As a matter of interest, what version of Saxon are you using?

I cannot find the text "Circular definition of parameter" in recent versions. They only have "Circular definition of variable".

Michael Kay
Saxonica



On 21/12/2012 15:44, Saurabh Vyas wrote:
Thanks Michael & Martynas for your replies.

@Michael : 
- I know about CircularDefinition & that it could be generated by the example that you stated about XSL stylesheet. I did try few such examples locally to reproduce the same error using Oxygen

- However I posted this specific problem b'cos this particular parameter "archieveNameParameter" is no where declared or used within my code of xsl or xml & I was bit annoyed since I did not know the source of exception to get it fixed :). I was like hunting in Dark !!! & finally I landed to this Group

- By searching bit more further atleast I was able to find that this parameter seems to be some internal parameter in “javax.xml.transform.Transformer”.

- But it sounds like the reply posted by Martynas & your response to the same sound to pinpoint the issue. I will try to dig more into my project & figure out if transformer instance is getting re-used or not. If it is getting re-used then that could be the problem resulting into above Error. Basically I will try to reproduce the Error & see if removing multiple re-use resolve the error or not ( I am sure it would resolve as it sounds from Martynas words )

Thanks to both of you & to the Group

BR
Saurabh

On Fri, Dec 21, 2012 at 9:54 AM, Michael Kay <mike@saxonica.com> wrote:

On 21/12/2012 12:10, Martynas Jusevičius wrote:
I think I used to have the same issue after longer reuse of the same
Transformer instance, even though there was no circularity in the
stylesheet.
I think you could get this symptom if you use a Transformer instance in more than one thread, which is not allowed. It's also possible it could happen if one transformation fails fatally, and you then re-use the transformer - that would be a bug, but it's a plausible one. (That's one reason I advise getting a new Transformer for each transformation).

But so far, the OP hasn't provided any evidence that the error message doesn't mean exactly what it says.

Michael Kay
Saxonica

On Wed, Dec 19, 2012 at 12:48 AM, Saurabh Vyas <saurabhhv@gmail.com> wrote:
Hello,

I am new to the group but would appreciate to get some help on one of the
transformation issue that I am facing bit randomly.

We have an application where we post order data in form of an XML & it is
parsed based on the expected XSL values for different orders.
Now sometimes during transformation I get below shown error on a parameter
called archieveNameParameter

Error
   XTDE0640: Circular definition of parameter archiveNameParameter


I checked the XML that I post but I do not find "archiveNameParameter"
anywhere.
Searching about it on Internet, i didn't find much information except that
this seem to be some parameter for javax.xml.transform.Transformer

Can you please help me identify about what could result into above error &
how changes in Third party jars / xml / xsl that i may need to do to resolve
the issue.

BTW I also searched about XTDE0640 & it appears to be some non-recoverable
dynamic error in transformation as per below definition

[ERR XTDE0640] In general, a circularity in a stylesheet is a
non-recoverable dynamic error. However, as with all other dynamic errors, an
implementation will signal the error only if it actually executes the
instructions and expressions that participate in the circularity. Because
different implementations may optimize the execution of a stylesheet in
different ways, it is implementation-dependent whether a particular
circularity will actually be signaled.


Thanks
Saurabh


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help





--
Thank God For What You Have
And Trust God For What You Want .....




--
Thank God For What You Have
And Trust God For What You Want .....