Bug #6625
openAllow Processors with different Configurations to have compatible documents
0%
Description
Experience suggests that when users begin using extension functions, they'll eventually want to have extension functions limited to particular processors. That means having processors with separate configurations. But that means arranging things so that those processors produce compatible documents.
At the Java layer, I think this is a question of making sure that the Configuration
objects share the same name pool and document number allocator. At least, that seems sufficient for Java applications.
Updated by Michael Kay 16 days ago
It might be worth having a method Configuration.makeCompatibleConfiguration()
that creates another Configuration with the same namepool and documentNumberAllocator.
There's already a method Configuration.isCompatible() to test whether two configurations share the same name pool and document number allocator.
Please register to edit this issue