On Sat, 2011-03-05 at 14:52 +0100, Michael Ludwig wrote:
> Dan Quach schrieb am 01.03.2011 um 12:05 (-0800):
> > Currently I am reading in the following xml document (through a ruby
> > wrapper)
> > LibXML::XML::Document.string( saml_plain)
> > 
> > <ds:SignedInfo>
> > <ds:CanonicalizationMethod Algorithm='
> > http://www.w3.org/2001/10/xml-exc-c14n#'/>
> > […]
> > </ds:SignedInfo>
> 
> That document is not namespace-well-formed.

<wrapper xmlns:ds="http://www.example.org/ds/";>
  <ds:SignedInfo>
  <ds:CanonicalizationMethod
    Algorithm='http://www.w3.org/2001/10/xml-exc-c14n#'/>
  </ds:SignedInfo>
</wrapper>

might be one way to handle it.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to