Alexey Loubyansky [http://community.jboss.org/people/alex.loubyansky%40jboss.com] replied to the discussion
"first stax performance test"
To view the discussion, visit: http://community.jboss.org/message/542998#542998
--------------------------------------------------------------
I originally used stream readers. And the test results above are for stream readers. But then I needed to get the DTD publicId/systemId and with stream readers I couldn't. Although I haven't tried getPIData(), I assumed it's for processing instructions. In the the standard StAX API there is general getText() and in case of JDK impl it returns something like "couldn't get the DTD info" and in case of Woodstox - just an empty string.
The only way I've found to get publicId/systemId so far is by using event readers and Woodstox-specific API.
I haven't run the performance comparison tests for streams vs events yet as I wanted to make it work for the metadata and the AS first.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/542998#542998]
Start a new discussion in JBoss XML Binding Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
HuiSheng Xu [http://community.jboss.org/people/rebody] replied to the discussion
"Update Deployment Resource"
To view the discussion, visit: http://community.jboss.org/message/542979#542979
--------------------------------------------------------------
Hi Maurizio,
I cannot find updateDeploymentResource() in RepositoryService. Did you customize this interface, too? Now we are focusing on fixing existing bugs. So if you could open an issue for this scenario, it will be very appreciate. And please provide a related testcase to reproduce it. Thank you very much.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/542979#542979]
Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Joshua Brookes [http://community.jboss.org/people/joshbrookes] commented on the document
"Mapping Roles in JBoss Application Server v5.x"
To view all comments on this document, visit: http://community.jboss.org/docs/DOC-14762#comment-3375
--------------------------------------------------
I tried using this in EAP 5 without success. The mapping did not take. Is this supported in EAP 5? I was however able to use the RoleMappingLoginModule successfully.
--------------------------------------------------
David Lloyd [http://community.jboss.org/people/david.lloyd%40jboss.com] replied to the discussion
"first stax performance test"
To view the discussion, visit: http://community.jboss.org/message/542970#542970
--------------------------------------------------------------
> Alexey Loubyansky wrote:
>
> Actually, I had to continue with Woodstox. JDK's impl doesn't give me full DTD info. It does report the DTD event but I couldn't get publicId/systemId. But using Woodstox's API I could get to it. It's really necessary for the metadata and deployers. I got all the metadata tests passing and the AS booting.
> We actually don't have any XML at the moment in the AS with XInclude. But I am sure there was something in MC using XInclude.
Wow, I'm surprised at this. Are you using the stream reader or event reader interface? Stream reader might be better (and, it might give access to the publicId/systemId stuff by way of getPIData or something like that).
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/542970#542970]
Start a new discussion in JBoss XML Binding Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Alexey Loubyansky [http://community.jboss.org/people/alex.loubyansky%40jboss.com] replied to the discussion
"first stax performance test"
To view the discussion, visit: http://community.jboss.org/message/542964#542964
--------------------------------------------------------------
Actually, I had to continue with Woodstox. JDK's impl doesn't give me full DTD info. It does report the DTD event but I couldn't get publicId/systemId. But using Woodstox's API I could get to it. It's really necessary for the metadata and deployers. I got all the metadata tests passing and the AS booting.
We actually don't have any XML at the moment in the AS with XInclude. But I am sure there was something in MC using XInclude.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/542964#542964]
Start a new discussion in JBoss XML Binding Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]