RE: Namespace prefixes

2005-12-12 Thread Alistair Young
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

RE: Namespace prefixes

2005-12-12 Thread Wing Yew Poon
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

Re: Namespace prefixes

2005-12-12 Thread Alistair Young
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