Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev]Changing Namespaces Between Specification Versions

From: Fraser Goffin <goffinf@----------.--->
To: Andrew Welch <andrew.j.welch@-----.--->
Date: 4/23/2009 7:29:00 PM
And adding to this point, Ken mentioned earlier that the processing of
an instance could 'strip  off' information items that it isn't
prepared/able to process. Whilst a this can work in the request phase
of a message exchange, what about the response. Imagine a v2 XML
instance arrives at a v1 processor. The processor removes all the v2
stuff it doesn't understand, does its work and then constructs the
response. But the caller is expecting a v2 response and it contains
information items which the v1 application doesn't have, and it may
well want some of the information items that were passed in on the v2
request which were discarded as well.

On the later point, David Orchard, sometimes refers to the ability of
a process to ignore data it doesn't understand as the 'must ignore
pattern'. But there are 2 flavours of this, 'must ignore retain' and
'must ignore discard'.

And since Ken introduced the idea, there might also need to be a
'retain' step prior to any removal of data for legal, regulatory and
sometimes business audit / non repudiation reasons.

Following the debate that an earlier poster referred to, also
mentioned the use of a validator, and the meaning was not necessarilly
meaning XML schema validation. In many circumstances both XSD itself
and validation against XSD is just too brittle.

Fraser.

2009/4/23 Andrew Welch <andrew.j.welch@g...>:
>>> How does the
>>> receiver determine the appropriate schema when the version is not
>>> explicitly referenced?
>>
>> Why not "try one and if it fails try the other"?
>
> There is a problem with this - the document is a v2 doc but fails for
> some reason, so validation falls back to the v1 schema, which also
> fails... which error message gets presented to the user?
>
> You want the v2 failure message, but the system can't confidently give you that.
>
>
>
>
> --
> Andrew Welch
> http://andrewjwelch.com
> Kernow: http://kernowforsaxon.sf.net/
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@l...
> subscribe: xml-dev-subscribe@l...
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent