Hi Paul, There's a public void setDocument(java.io.Reader rdr, java.lang.String name, boolean nsa) method in the org.jibx.runtime.impl.UnmarshallingContext that allows you to disable namespace handling by the parser. I believe that if you disable the namespaces you get the entire name, including any prefix used in the XML document. If you need to worry about stripping off prefixes you may need to use your own parser wrapper class for that purpose, which needs to implement the IXMLReader interface. See the org.jibx.runtime.impl.XMLPullReaderFactory and StAXReaderFactory code for the XMLPull and StAX wrapper implementations.
(added to wiki at http://www.sosnoski.com/jibx-wiki/space/usage-questions/no-namespaces) - Dennis Paul Mahoney wrote: > I've had no response to this message. Can anyone help? > > >> -----Original Message----- >> From: Paul Mahoney [mailto:[EMAIL PROTECTED] >> Sent: 11 April 2007 10:24 >> To: 'jibx-users@lists.sourceforge.net' >> Subject: Namespace issues >> >> I'm having to work with some really poor XML from a supplier >> my customer uses. They're use of namespaces is very >> questionable and is giving me a lot of grief. I need either to >> turn off namespace matching in Jibx, or I need the ability to >> specify mappings that can appear in more than one namespace. >> Any suggestions? >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users