Open Tomas-Kraus opened 12 years ago
@glassfishrobot Commented Reported by jayashree_viswanathan
@glassfishrobot Commented jayashree_viswanathan said: Attached file has the fix for this issue
@glassfishrobot Commented jayashree_viswanathan said: Hi can you please look at this patch .
@glassfishrobot Commented snajper said: Yardo, would you please review this?
@glassfishrobot Commented yaroska said: Hi, Jayashree,
Can you please sign Oracle Contributor Agreement (OCA). We need it to start working with your code. Here are some links:
FAQ: http://www.oracle.com/technetwork/oca-faq-405384.pdf OCA: http://glassfish.java.net/public/GovernancePolicy.html
Thanks a lot.
@glassfishrobot Commented jayashree_viswanathan said: Yardo ,
Thanks for the response . I have mailed you the details .
Jayashree V
@glassfishrobot Commented jayashree_viswanathan said: Hi Yardo ,
Any updates here ?
@glassfishrobot Commented yaroska said: Hi, Jayashree,
These changes were integrated. But we can't release them yet. "Buggy" behavior is in JDK now, so for backwards compatibility we have to implement switch which will allow to choose.
@glassfishrobot Commented jayashree_viswanathan said: Can you please share more information on what is the buggy behavior ?
@glassfishrobot Commented yaroska said: I meant that this bug is in JDK.
@glassfishrobot Commented jayashree_viswanathan said: Have sent another patch with backward compatibility for JDK purposes , not able to attach the diff though to the same work-item as the Attachment option is disabled for this item now for me .
@glassfishrobot Commented File: diff.patch Attached By: jayashree_viswanathan
@glassfishrobot Commented Was assigned to yaroska
@glassfishrobot Commented This issue was imported from java.net JIRA JAXB-907
If the namespace has '#' in it, JAXB RI 2,1 used to convert it to "", but in 2,2 it is just removing and replace to "" is not happening.
Testcase:
You can reproduce by compiling the following schema with XJC:
<?xml version='1.0' encoding='UTF-8'?> <xs:schema targetNamespace='http://example.com/abc#' xmlns:xs='http://www.w3.org/2001/XMLSchema'>