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 Andreas,

This is just an acknowledgement of reception of your message. As I mentioned I will not be able to invest time in this topic until next week....I will react by then

Juan Carlos.
El 19/9/17 a las 20:19, Andreas Kuehne escribió:
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.



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