I think I might have found a bug in GenericXMLWriter.java.

The following line ...

    protected void writePrefix(int index) throws IOException {
        try {
            String text = m_prefixes[index];

... should instead be ...

    protected void writePrefix(int index) throws IOException {
        try {
            String text = getNamespacePrefix(index);

... that way it takes into account, the extension namespaces as well. I am
using JiBX bound XML beans with a lot of DOM-based elements embedded in (using
DOMElementMapper). In those case, I get ArrayIndexOutOfBoundsException.

Dennis, what do you think?

--Jitesh


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to