[
https://issues.apache.org/jira/browse/TUSCANY-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474400
]
Kelvin Goodson commented on TUSCANY-1091:
-----------------------------------------
The issue here is that there is some generated code in the impl project using
an old generator pattern which shares a namespace with the new xsd
(xsdStreamHelper.xsd has namespace http://www.example.com/simple"). The old
style generated code puts its metadata in the delegated registry, so when it
comes to type definition using the new xsd, the first getEPackage for that
namespace succeeds where you would hope that it fails. I will open a JIRA to
clean up this situation along with other testcase references to helper
singletons, and then commit this after committing the test case updates.
> DataObjectXMLStreamReader doesn't have to repeat NameSpace declaration which
> impacts performance
> ------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-1091
> URL: https://issues.apache.org/jira/browse/TUSCANY-1091
> Project: Tuscany
> Issue Type: Improvement
> Components: Java SDO Implementation
> Affects Versions: Java-SDO-Mx
> Reporter: Yang ZHONG
> Fix For: Java-SDO-Mx
>
> Attachments: bindLessNS, bindLessNS, bindLessNS.patch,
> org.apache.tuscany.sdo.test.XMLStreamHelperPerformanceTestCase.txt,
> simple3.xsd, T-1091.log, XMLStreamHelper.xsd,
> XMLStreamHelperPerformanceTestCase.java
>
>
> <p0:quotes3>
> <p1:symbol3
> xmlns:p1="http://www.example.com/simple3">IBM</p1:symbol3>
> <p1:company3 xmlns:p1="http://www.example.com/simple3">IBM
> Corp.</p1:company3>
> </p0:quotes3>
> can be optimized as
> <p0:quotes3 xmlns:p1="http://www.example.com/simple3">
> <p1:symbol3>IBM</p1:symbol3>
> <p1:company3>IBM Corp.</p1:company3>
> </p0:quotes3>
> Thanks to Fuhwei Lwo for prototyping the Test Case. I've made small changes
> to make use of HelperContext so that it will neither interfere nor be
> interfereed by other build test(s).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]