[xsd-users] Validation results not as expected.

Stephen James Stephen.James at genband.com
Mon Jan 25 12:58:06 EST 2010


I am testing my solution to verify correct behavior when invalid xml is
presented.

I can only get exceptions, so far, when I omit a required attribute.

The following xml does not throw an exception: Note the first
<component> is not terminated???

 

<?xml version="1.0"?>

<acbtcap>

  <component id="1">

  <component id="2">

    <invoke opcode="provide_value">

      <parameters>

        <busyfreestatus/>

        <callfwdactive/>

        <termrestrict/>

        <dntoline/>

      </parameters>

    </invoke>

  </component>

</acbtcap>

 

Stephen James
Sr. Software Engineer

GENBAND Inc.
3605 E. Plano Parkway
Plano, TX 75074 USA
office            +1.972-521-5858
mobile         +1.214-686-8754
stephen.james at genband.com


  <http://www.genband.com/> 
 

 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 3407 bytes
Desc: image001.gif
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20100125/8e146167/attachment.gif


More information about the xsd-users mailing list