Creating an XMLObject

Camel Guy camel at devguy.com
Mon Oct 5 12:59:18 EDT 2015


XMLObjectSupport. unmarshallFromReader( ... )

Passing a BasicParserPool and a StringReader wrapping a string that
contains XML, I get:

2015-10-05 09:50:29,884 - ERROR
[org.opensaml.core.xml.util.XMLObjectSupport:213] - Unable to unmarshall
Reader, no unmarshaller registered for element attributes

I need to parse XML, not unmarshal binary goo, so XMLObjectSupport appears
to be a dead end.

~cg

On Sat, Oct 3, 2015 at 6:53 AM, Tom Zeller <tzeller at dragonacea.biz> wrote:

>
>
> > On Oct 3, 2015, at 12:47 AM, Camel Guy <camel at devguy.com> wrote:
> >
> > Hello,
> >
> > Is there an example of reading a string containing XML into a
> org.opensaml.core.xml.XMLObject? I've spent a few hours in the javadocs. I
> found:
> >
> > static XMLObject
> unmarshallFromInputStream(net.shibboleth.utilities.java.support.xml.ParserPool,
> InputStream)
> >
> > But I'm not sure whether this is the right method and I couldn't figure
> out how to create a ParserPool.
> >
> > Just FYI, I am trying to create an XMLObjectAttributeValue
>
> See XMLObjectSupport, IIRC.
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20151005/9f8e4b4a/attachment.html>


More information about the users mailing list