Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


ID and IDREF

From: "geoff" <nospam@------.--->
To: NULL
Date: 12/2/2007 1:09:00 PM

Hello,

Why does this not work:

   <billTo id="addr-1">
      <company>The Skateboard Warehouse</company>
      <street>One Warehouse Park</street>
      <street>Building 17</street>
      <city>Boston</city>
      <state>MA</state>
      <postalCode>01775</postalCode>
   </billTo>

   <shipTo href="addr-1"/>

. . . billTo and shipTo are defined as the same in the schema and I included 
the following in the schema definition:

     <xsd:attribute name="id" type="xsd:ID"/>
      <xsd:attribute name="href" type="xsd:IDREF"/>

. . . however, xml notepad says, 'the element shipTo has incomplete 
contents'.  If I populate shipTo with the same info as billTo, it works fine 
but the referencing of billTo does not seem to work or is it a limitation of 
xml notepad?

Thanks.

--g




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent