List Info

Thread: XML Schema Validation in SDO




XML Schema Validation in SDO
country flaguser name
United States
2007-08-30 02:48:35
We've recently had a number of XML related defect raised
against SDO
(11923, 11925, 11926, 11927, 11930 and 11931).  These seem
to all boil
down to strictly enforcing the XML schema.  See the brief
discussion
in 11925 for more details.

This phpsoa group discussion (http://group
s.google.co.uk/group/phpsoa/
browse_thread/thread/0697ece05fd15c12) is where we left the
subject
some time ago. I'm a little concerned that google thinks
there are
more posts than it is actually showing and I also seem to
recall there
being a little more than I now see.  I believe we concluded
we would
implement a validate() method on the XML DAS.  Internally
this would
serialize to an XML string and use an existing validating
parser to
check it (Rob suggests SAX above).  Not pretty, but would
give us
something to work with/throw rocks at  .

Does this match other people's recollections?

Graham.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "phpsoa" group.
To post to this group, send email to phpsoagooglegroups.com
To unsubscribe from this group, send email to
phpsoa-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: XML Schema Validation in SDO
user name
2007-08-30 03:23:41


On 8/30/07, Graham Charters < gchartersgooglemail.com">gchartersgooglemail.com> wrote:

We've recently had a number of XML related defect raised against SDO
(11923, 11925, 11926, 11927, 11930 and 11931).&nbsp; These seem to all boil
down to strictly enforcing the XML schema.&nbsp; See the brief discussion
in 11925 for more details.

This phpsoa group discussion (http://groups.google.co.uk/group/phpsoa/
browse_thread/thread/0697ece05fd15c12) is where we left the subject
some time ago. I'm a little concerned that google thinks there are
more posts than it is actually showing and I also seem to recall there
being a little more than I now see.  I believe we concluded we would
implement a validate() method on the XML DAS.  Internally this would
serialize to an XML string and use an existing validating parser to
check it (Rob suggests SAX above).&nbsp; Not pretty, but would give us
something to work with/throw rocks at .

Does this match other people';s recollections?

Graham.


Sounds about right to me. The current SDO data model we use doesn't have the fidelity to represent all aspects of XML so we are going to have to step outside of that to represent a schema for validation purposes.&nbsp; What you suggest sounds like a reasonable first step toward this.

Simon

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoagooglegroups.com
To unsubscribe from this group, send email to phpsoa-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )