Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Forum De Bell Tolls > [.NET] Problema da risolvere!
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.15 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[.NET] Problema da risolvere!

Sto usando la classe .NET XmlTextReader per leggere uno stream xhtml di una pagina remota. Il problema è che non appena il lettore incontra due "a capo" di fila si blocca pensando che quella sia la fine del file e ovviamente la validazione dell'xhtml fallisce. Probabilmente sto sbagliando qualcosa io, o mi sono dimenticato del codice qua e là... oppure c'è qualche altra soluzione???

Con le mie pagine funziona benissimo... ma questo problema me lo da anche con www.w3schools.com, e questo non è bello!

Grazieeeeee

:(

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

30-03-2004 18:24
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DeepBlue
tired guy

User info:
Registered: Sep 2003
Posts: 4258 (0.55 al dì)
Location: CSN
Corso: Info tlc
Anno:
Time Online: 52 Days, 8:40:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Premessa: non conosco .Net quindi parlo solo per quel poco che ho letto 2 minuti fa.

Perché fai terminare la lettura quando incontri 2 new line? Non puoi usare la proprietà XmlTextReader.EOF per far rilevare la fine del flusso?

__________________
~ get Debian! ~ get FreeBSD! ~ get OpenBSD! ~

30-03-2004 18:37
Click Here to See the Profile for DeepBlue Click Here to See the Blog of DeepBlue Click here to Send DeepBlue a Private Message Find more posts by DeepBlue Add DeepBlue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.15 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Non sono io a terminare la lettura... è l'oggetto XmlTextReader che genera l'evento EOF quando incontra due new line, ed è proprio questo che non riesco a capire! :?

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

30-03-2004 18:43
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.15 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Nessun'altra idea?? :(

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

31-03-2004 15:22
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 02:59.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.050 seconds (49.95% PHP - 50.05% MySQL) con 27 query.