Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CURSORTOXML() and C Binary
Message
From
22/11/2005 13:28:53
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
CURSORTOXML() and C Binary
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01071246
Message ID:
01071246
Views:
59
Hi,

I have a cursor with a character binary field. AFAICS the docs state that field of this type are rendered as
<xsd:encoding value="base64"/>
however the relevant XSD generated by CURSORTOXML() is:
<xsd:element name="layout1">
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:maxLength value="5"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:element>
Needless to say a subsequent XMLTOCURSOR() chokes on this. Am I mis-reading - or, more importantly, what's the simplest way of fixing this?

Regards,
Viv
Next
Reply
Map
View

Click here to load this message in the networking platform