Discussion:
XML Schema Validation in SDO
Graham Charters
2007-08-30 07:48:35 UTC
Permalink
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://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). Not pretty, but would give us
something to work with/throw rocks at :-S .

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 phpsoa-/***@public.gmane.org
To unsubscribe from this group, send email to phpsoa-unsubscribe-/***@public.gmane.org
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---
Simon Laws
2007-08-30 08:23:41 UTC
Permalink
Post by Graham Charters
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://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). Not pretty, but would give us
something to work with/throw rocks at :-S .
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. 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 phpsoa-/***@public.gmane.org
To unsubscribe from this group, send email to phpsoa-unsubscribe-/***@public.gmane.org
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---

Loading...