OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

dss-x message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [dss-x] Raw chat trace of meeting #186 on 2017-SEP-18

Hi Juan Carlos,

before you invest time in a way to isolate a subtree out of a document
using DOM please take into account that there are other ways of XML
processing, like SAX or some type of language binding (e.g. JAXB in the
Java space). We have to offer a well defined process that's easy to
implement and language / framework independent. The flexibility of XML
namespace declarations makes it very tricky to come up with a simple
solution: A namespace declared on the root level is as valid as a
declaration within the same element or within any element in between.
And the namespace can be redeclared. That may happen before we reach the
subtree we like to extract. Some of these inherited namespaces are
required for the subtree,  the other MUST be dropped.I would guess we
quickly end up in re-defining the namespace-related part of exclusive
canonicalization! Maybe the complexity of this is topic is the reason
why there isn't a simple method defined in the DOM specification.

As I mentioned JAXB above: This is the XML of the 'plain vanilla' JAXB
serialization of a DSS verification request:


As you can see there is the need to respect _some_ of namespace
declarations given _outside_ of the relevant Signature object. So I
would like to vote for a drop of this last resort of 'inlined XML'
instead of taking the burden to define an extraction scheme.



Andreas Kühne 
phone: +49 177 293 24 97 
mailto: kuehne@trustable.de

Trustable Ltd. Niederlassung Deutschland Gartenheimstr. 39C - 30659 Hannover Amtsgericht Hannover HRB 212612

Director Andreas Kühne

Company UK Company No: 5218868 Registered in England and Wales 

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]