ATOUTFOX
COMMUNAUTÉ FRANCOPHONE DES PROFESSIONNELS FOXPRO
Visual FoxPro : le développement durable

Forum AtoutFox : Re: [Xml] xsd - C#   

Sujet

rss Flux RSS des derniers messages

Vous devez vous identifier pour pouvoir poser une question ou répondre.

sam. 05 juin 2010, 18h25
Gregory Adam
atoutfox.public.association

Re: [Xml] xsd - C#

C'est un chaine de char qui
- ne contient pas de \r, \n, \t
- ne commence pas par un espace
- ne se termine pas par un espace
- qui n'a pas d'espaces consecutives dans la chaine

3.3.2 token
[Definition:] token represents tokenized strings. The ·value space· of
token is the set of strings that do not contain the carriage return (#xD),
line feed (#xA) nor tab (#x9) characters, that have no leading or trailing
spaces (#x20) and that have no internal sequences of two or more spaces. The
·lexical space· of token is the set of strings that do not contain the
carriage return (#xD), line feed (#xA) nor tab (#x9) characters, that have
no leading or trailing spaces (#x20) and that have no internal sequences of
two or more spaces. The ·base type· of token is normalizedString.


--
Gregory
_

"OlivierH" <no_contact_spam@planitron.com> wrote in message
news:hudt6v$h4g$1@news.niouzes.net...
> Salut Greg,
>
> Donc je ne peux pas passer par Dataset ReadSchema.
>
> Il semblerait que cela soit un bug du dataset ?
>
> Je vais chercher une autre solution pour ecrire et lire ce xml en .net,
> je suis mal.
>
> Je ne comprends pas à quoi sert le type xs:token ? c'est pour l'avantage
> de mettre un Enum ?
>
> Olivier
>
>
>
> Le 05/06/2010 18:06, Gregory Adam a écrit :
>> Olivier,
>>
>> Token est un type de base derive de string voir 3.3.2
>> http://www.w3.org/TR/xmlschema-2/
>>
>> Probleme :
>> http://social.msdn.microsoft.com/Forums/en-US/xmlandnetfx/thread/3402ba87-ded6-4c20-8998-36d25fa279c8
>>
>>
>> Tu peux remplacer xs:token par xs:string dans le schema
>>
>> Mais tu auras un autre probleme : DataSet doesn't support 'union' or
>> 'list' as simpleType.
>>
>>
>>
>
Permalink : http://www.atoutfox.org/nntp.asp?ID=0000003490
20 286 messages dans le forum • Liste complète des messages

www.atoutfox.org - Site de la Communauté Francophone des Professionnels FoxPro - v3.4.0 - © 2004-2026.
Cette page est générée par un composant COM+ développé en Visual FoxPro 9.0-SP2-HF3