Ok now it should be fully fixed if you update the otrunk project.  The 
copying code was not handling the refid or href attributes inside of 
compound documents correctly. 

The "%" infront of the id is put there on purpose.    If you use the 
toString method of the OTID you will get a string starting with a %.   
This is because you should not use the toString method to get string 
version of the id.  Instead you should use the toExternalForm() 
method.    The toExternalForm verifies that this ID actually has a valid 
String representation.   Some IDs are temporary so toExternalForm throws 
an exception in this case.

So if you are seeing "%" infront of ids it means there is some code 
calling toString on the id when it shouldn't be.   In this particular it 
was a problem in the OTrunk project itself using the toString method. 

Scott

Scott Cytacki wrote:
> Ok, if you update the otrunk project, the refid part of this should be 
> fixed.
>
> I still need to fix the href part.
>
> Scott
>
> Scott Cytacki wrote:
>   
>> This looks like a bug in the copy code.  I created this issue to track 
>> my work on it:
>> http://jira.concord.org/browse/OTK-54
>>
>> Scott
>>     


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to