It's typically caused by having more than one entry point from the application to Saxon - for example more than one Processor object on .NET, or more that one JAXP factory or XQJ DataSource under Java. Check that everything derives from the same Processor.
 
The main reason for the rule is to ensure that everyone is using the same NamePool, so there is no confusion about the assignment of integer codes to names. It also affects allocation of unique document numbers, which is needed so that there is a stable ordering of nodes across multiple documents and correct assessment of node identity across the entire application.
 
Michael Kay
http://www.saxonica.com/


From: saxon-help-bounces@lists.sourceforge.net [mailto:saxon-help-bounces@lists.sourceforge.net] On Behalf Of Steve Turner
Sent: 15 January 2008 00:47
To: saxon-help@lists.sourceforge.net
Subject: [saxon] Configurations

Hi,

 

After upgrading from 8.7.3 to 9 (.NET version), I am now getting the following error (thrown by Transformer.Run):

     Source document and stylesheet must use the same or compatible Configurations

What typically causes this?

 

Thanks,

 

Steve

 

=======
Notice: This e-mail message, together with any attachments, contains
information of Symyx Technologies, Inc. or any of its affiliates or
subsidiaries that may be confidential, proprietary, copyrighted,
privileged and/or protected work product, and is meant solely for
the intended recipient. If you are not the intended recipient, and
have received this message in error, please contact the sender
immediately, permanently delete the original and any copies of this
email and any attachments thereto.