Next in thread → Next in month →

Re: [xml-dev] Do Schema-code binding tools typically ignore user-defined simple types?

From
Pete Cordell <>
To
"Karr, David" <>,
Date
2008-10-23T14:12:03Z
ID
<8CB966D252A84715AEB288D1B4864668@Codalogic>
Thread
Re: [xml-dev] Do Schema-code binding tools typically ignore user-defined simple types?
----- Original Message From: "Karr, David"

> In your experience with tools that generate code from XML schemas, do
> they typically respect, or ignore, user-defined simple types, like
> length restrictions on xsd:string?

Our tool, Codalogic LMX for C++ XML data binding
( http://www.codalogic.com/lmx/ ), checks such constraints in the code that 
is generated.

HTH,

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using XML C++
data binding to convert XSD schemas to C++ classes.
Visit http://www.codalogic.com/lmx/ for more info
----- Original Message ----- 
From: "Karr, David" <>
To: <>
Sent: Wednesday, October 22, 2008 7:02 PM
Subject: [xml-dev] Do Schema-code binding tools typically ignore
user-defined simple types?


In your experience with tools that generate code from XML schemas, do
they typically respect, or ignore, user-defined simple types, like
length restrictions on xsd:string?

I'm currently reading Thomas Erl's new book, "Web Service Contract
Design & Versioning for SOA", where he makes the statement that "most"
tools ignore them.  I believe this would result in code-driven
validation of XML documents ignoring issues with element values outside
of the defined length restrictions.  I believe almost everything Thomas
Erl tells me :) , but I'd really like to see some more support for this
statement before I believe it.
Next in thread → Next in month →