users@jaxb.java.net

Re: UTF-8 charcter in tag name

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Tue, 2 Feb 2010 14:46:43 +0100

On Tue, Feb 2, 2010 at 11:48 AM, Noxi <noxilim2_at_web.de> wrote:

>
>
> Lulseged wrote:
> >
> > I would copy the JAXB jar files into the %JRE_HOME%/lib/endorsed when
> > ever updating to a new java release.
> >
>
> I haven't used extra jar files for JAXB. The classes come from rt.jar.
> Is this a bug in JAXB or the JRE version?
> --
>

None of the classes participating in XML parsing is bundled with the
standalone JAXB releases, so
the "endorsed" mechanism isn't going to change a thing.

I don't have that particular 1.6.0_18 release installed, but please try

        InputSource inpsrc = new InputSource( "some.xml" );
        org.xml.sax.XMLReader reader =
          org.xml.sax.helpers.XMLReaderFactory.createXMLReader();
        SAXSource theSource = new SAXSource( reader, inpsrc );

-W


> View this message in context:
> http://old.nabble.com/UTF-8-charcter-in-tag-name-tp26302584p27418463.html
> Sent from the java.net - jaxb users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>