LOL! I didn't spot that! Thanks Wing Yew.
Alistair
--
Alistair Young
Senior Software Engineer
[EMAIL PROTECTED] Mòr Ostaig
Isle of Skye
Scotland
> Alistair,
>
>> XmlOption.setSaveAggresiveNamespaces looks a handy method but the
> 2.1.0
>> API says it's deprecated and to use use
>> XmlOptions.s
Alistair,
> XmlOption.setSaveAggresiveNamespaces looks a handy method but the
2.1.0
> API says it's deprecated and to use use
> XmlOptions.setSaveAggresiveNamespaces instead!
>
> Is this a typo?
if you read the javadoc carefully, what is deprecated is
setSaveAggresiveNamespaces
(one 's' in the
Thanks Giedrius,
that solved the problem - for others' interest:
HashMap ns = new HashMap();
ns.put("urn:oasis:names:tc:SAML:1.0:protocol", "samlp");
ns.put("urn:oasis:names:tc:SAML:1.0:assertion", "saml");
ns.put("http://www.w3.org/2000/09/xmldsig#";, "ds");
xmlOptions.setSaveSuggestedPrefixes(n
3 matches
Mail list logo