Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xml parse error on node
Message
 
À
04/10/2004 11:06:52
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00948476
Message ID:
00949624
Vues:
23
I have [recently] been working with DOM/XOM (Java). In Java, the elements must be "well formed". This means, as I understand it that both open and close tags must be present. I note that the root tag of your "tree" is not closed. Also - the notataion for (mynrb /) and (agtnrvb /) is new to me. I don not know what they are, but they seem to stray from my understanding of "well formed" tags:-)


>I try to parse an XML file to a cursor using XMLTOCURSOR in VFP 7
>This is only the top part of the file...
>< signs are replaced bij brackets due to tag limitations
>
> "(?xml version="1.0" encoding="ISO8859-1" ?)"
>- (algemeen)
> (versie)1(/versie)
> (aanvrnr)0(/aanvrnr)
> (ddaanvr)20041004(/ddaanvr)
> (ddaanm)20041004(/ddaanm)
> (agentnr)1234(/agentnr)
> (nevenvs)D321(/nevenvs)
> (agentnm)Company Inc.(/agentnm)
> (mynrvb /)
> (agtnrvb /)
> (mijnr)000V(/mijnr)
>
>on last line the following XMLTOCURSOR error occurs...
>
>XML Parse error: node "mijnr" XML=(mijnr)000V(/mijnr)
>
>Can anyone tell me what's causing this?
>
>BTW the node exists and is written correctly
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform