Re: [opennms-devel] Do we need to use InputSourcess for unmarshalling XML files instead of Readers (re: bug #2526, commit in revision 9350)
Benjamin Reed <[email protected]>
| Newsgroups | gmane.network.opennms.bugs |
|---|---|
| Organization | The OpenNMS Group |
| Message-ID | <4857C894.5090603__41429.2399924763$1213712641$gmane$org@opennms.org> |
Matt Brozowski wrote: > Hi DJ, > > I did some research with David and figured out that if you use a Reader > then the encoding set in the xml file is ignored. if you use a > InputStream then the encoding is set based on the value in the xml file. > > So it is most appropriate to use InputStream for unmarshalling all xml > files. Then we can specify in the file its encoding. > > I think your ideas for CastorUtils and the Castor DAO class make a lot > of sense. Is this something important enough to try to get done today and in 1.5.92? It seems like it's a good thing to do, but also has a potential for breaking things without a little time for settling down. -- Benjamin Reed The OpenNMS Group http://www.opennms.org/ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel
signature.asc
(application/pgp-signature, 249 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIV8iUUu+jZtP2Zf4RAmhEAKCNe1cfXRgUwNPNM1Dxe4UE2iynlwCeNqpP h0zYA0oZ6TM8gHtikropJGo= =/3DU -----END PGP SIGNATURE-----