P
Pavel Lepin
The XML Schema traffic volume on ctx always seemed to be
second to none, and I believe I'm observing a pattern of
sorts in many of the requests for help posted.
Most of the problems seem to arise not even from the lack of
familiarity with the schema definition language employed,
but rather from a more fundamental flaw in the process. I
deduce that instead of designing a data structure they want
represented as an XML document, then attempting to design a
corresponding schema, most software engineers go directly
to the mock-up stage.
Quite often the mock-up seems to be approved and distributed
to the users as a makeshift schema definition right away,
but that's not the root of the evil. The true problem is
that some poor sod is saddled with the task of expressing
the constraints applicable to said mock-up document as a
schema definition, occasionally without even being aware of
what the document really *means*. So instead of thinking
about expressing the _data structure_ in question, the guy
on the task concentrates on expressing (often arbitrary,
and sometimes outright stupid) constraints implied by the
mock-up.
A case of forest behind the trees, if you will.
Naturally, all too often, it is impossible to achieve - as
demonstrated by, oh, every other XML Schema request for
help on the group.
Of course, if some corporate monstrosity has already set The
Mock-Up in stone, and distributed it to its auxiliary
monstrosities as The Next-Gen Foobarly Document Format,
there's little that can be done but quietly pitying the guy
who had an impossible task assigned to him.
However, I believe in some cases the situation can be
salvaged, if only the guy asking for help is pointed in the
right direction - that is, discarding the mock-up, and
concentrating on the actual data structure behind it. More
often than not what he needs expressed probably can be,
using nothing more than the plain old W3C's XML Schemata.
Sure, sometimes this will impose a structural overhead,
that might even be unacceptable in case of huge datasets.
Still this is worth trying in my opinion.
second to none, and I believe I'm observing a pattern of
sorts in many of the requests for help posted.
Most of the problems seem to arise not even from the lack of
familiarity with the schema definition language employed,
but rather from a more fundamental flaw in the process. I
deduce that instead of designing a data structure they want
represented as an XML document, then attempting to design a
corresponding schema, most software engineers go directly
to the mock-up stage.
Quite often the mock-up seems to be approved and distributed
to the users as a makeshift schema definition right away,
but that's not the root of the evil. The true problem is
that some poor sod is saddled with the task of expressing
the constraints applicable to said mock-up document as a
schema definition, occasionally without even being aware of
what the document really *means*. So instead of thinking
about expressing the _data structure_ in question, the guy
on the task concentrates on expressing (often arbitrary,
and sometimes outright stupid) constraints implied by the
mock-up.
A case of forest behind the trees, if you will.
Naturally, all too often, it is impossible to achieve - as
demonstrated by, oh, every other XML Schema request for
help on the group.
Of course, if some corporate monstrosity has already set The
Mock-Up in stone, and distributed it to its auxiliary
monstrosities as The Next-Gen Foobarly Document Format,
there's little that can be done but quietly pitying the guy
who had an impossible task assigned to him.
However, I believe in some cases the situation can be
salvaged, if only the guy asking for help is pointed in the
right direction - that is, discarding the mock-up, and
concentrating on the actual data structure behind it. More
often than not what he needs expressed probably can be,
using nothing more than the plain old W3C's XML Schemata.
Sure, sometimes this will impose a structural overhead,
that might even be unacceptable in case of huge datasets.
Still this is worth trying in my opinion.