Hi Urs,
Urs Reupke wrote:
here's the stack trace as given by the dialog:
org.apache.batik.bridge.BridgeException: null: -1
Cannot find the referenced element: "#Solar"
specified on the element <use> - may be a problem of id
at
org.apache.batik.bridge.BridgeContext.getReferencedElement(Unknown Source)
at
Unfortunately this is not the 'original' error however I believe that
this error indicates that 'doc.getElementById("Solar")' is failing.
For Batik 1.6 we changed how getElementById works and so I'm wondering
if there is something a little odd in how DOM 4 J builds the
Batik DOM that causes Batik to miss registering the 'id' attributes
with the hash table.
Can you check if getElementById("Solar") works? So after you
construct the Batik DOM from Dom4J just println the results of
calling getElementById("Solar").
If this returns 'null' as I suspect then we will need to dig into
how Dom4J adds attributes to the Document it is building...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]