Re: XML Woes
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55477
interpreted = N
texte = OK I'll checkout the DTD and make sure it is correct. Thanks!~danOn Jan 14, 2004, at 5:15 PM, Scott Anderson wrote:> I pasted your example into my lab, removing the extra line feeds and > the> space Dan refered to. The XMLParse did connect to the XML document, > but> there were several error listed:>> Fatal Error at file http://www.redeyeinteractive.com/feed/acapulco.xml> line: 3> column: 35> message: Root element different from DOCTYPE> Fatal Error at file http://www.redeyeinteractive.com/feed/acapulco.xml> line: 7> column: 7> message: Unknown element 'p'> Fatal Error at file http://www.redeyeinteractive.com/feed/acapulco.xml> line: 7> column: 15> message: Unknown element 'strong'> Fatal Error at file http://www.redeyeinteractive.com/feed/acapulco.xml> line: 8> column: 7> message: Unknown element 'p'> Fatal Error at file http://www.redeyeinteractive.com/feed/acapulco.xml> line: 8> column: 191> message: Unknown element 'a'> ....>> Problems with the dtd file?>>> -----Original Message-----> From: Daniel Schutzsmith [mailto:dan@berlinprod.com]> Sent: Wednesday, January 14, 2004 1:48 PM> To: WebDNA-Talk@talk.smithmicro.com> Subject: Re: XML Woes>>> hmm, I tried both of these methods and I am not sure why I can't get it>> to work. This is the error I get now:>> --------------------> message: An exception occurred! Type:MalformedURLException, Message:The>> URL used an unsupported protocol> -------------------->> This is the code on my page:> [xmlparse> var=xml_var1&source=http://www.redeyeinteractive.com/feed/> acapulco.xml][/xmlparse]> [xmlnodes ref=xml_var1]> [name]=[value]
> [/xmlnodes]>> and the top of my xml is:> > >> ANY clue as to what I am doing wrong?>> ~dan>>> On Jan 14, 2004, at 4:01 PM, Scott Anderson wrote:>>> Daniel,>>>> Yes, the XMLParse will parse XML code that includes a reference to a>> dtd (or>> schema). However, there are some conditions:>>>> If your are parsing explicate XML data that you include between the>> [XMLParse] tags, then you need to make sure that the DOCTYPE element>> contains a complete URL path to the dtd file. For example:>>>> [XMLParse var=xml1]>> > "http://localhost/WebCatalog/WebDNALab/lab1/user_files/note.dtd">>>
>> Tove>> Jani>> Reminder>> Don't forget me this weekend!>> [/XMLParse]>>>>>> If you parse XML using a url source, then the XML DOCTYPE element can>> contain a relative(or absolute) URL reference to the dtd file. For>> example:>>>> [XMLParse>> var=xml1&source=http://localhost/WebCatalog/WebDNALab/lab1/user_files/>>> note.x>> ml][/XMLParse]>>>> note.xml contains:>>>> >> >>
>> Tove>> Jani>> Reminder>> Don't forget me this weekend!>> >>>> and the note.dtd file is located in the same location as the note.xml>>>> -----Original Message----->> From: Daniel Schutzsmith [mailto:dan@berlinprod.com]>> Sent: Wednesday, January 14, 2004 10:05 AM>> To: WebDNA-Talk@talk.smithmicro.com>> Subject: XML Woes>>>>>> When parsing an XML document, does webdna not allow the xml to use a>> DTD? This is the error I keep getting.>>>> -------------------->> Fatal Error at file>> line: 2>> column: 44>> message: An exception occurred! Type:XMLPlatformException,>> Message:Could not open file: mdtravelhealth.dtd>> An unknown error occurred:>> XMLNodes>> Container/Path Not Found:>> xml_var1>> -------------------->>>> Anyone got a clue?>>>> ~dan>>Daniel SchutzsmithSenior Web DeveloperBerlin Productions, Inc.dan@berlinprod.com914-683-5759914-683-5751 (fax)http://www.berlinprod.com>>>>>> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list
.>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to>> >> Web Archive of this list is at: http://webdna.smithmicro.com/>>>>>> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to>> >> Web Archive of this list is at: http://webdna.smithmicro.com/>>>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://webdna.smithmicro.com/>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
OK I'll checkout the DTD and make sure it is correct. Thanks!~danOn Jan 14, 2004, at 5:15 PM, Scott Anderson wrote:> I pasted your example into my lab, removing the extra line feeds and > the> space Dan refered to. The XMLParse did connect to the XML document, > but> there were several error listed:>> Fatal Error at file http://www.redeyeinteractive.com/feed/acapulco.xml> line: 3> column: 35> message: Root element different from DOCTYPE> Fatal Error at file http://www.redeyeinteractive.com/feed/acapulco.xml> line: 7> column: 7> message: Unknown element 'p'> Fatal Error at file http://www.redeyeinteractive.com/feed/acapulco.xml> line: 7> column: 15> message: Unknown element 'strong'> Fatal Error at file http://www.redeyeinteractive.com/feed/acapulco.xml> line: 8> column: 7> message: Unknown element 'p'> Fatal Error at file http://www.redeyeinteractive.com/feed/acapulco.xml> line: 8> column: 191> message: Unknown element 'a'> ....>> Problems with the dtd file?>>> -----Original Message-----> From: Daniel Schutzsmith [mailto:dan@berlinprod.com]> Sent: Wednesday, January 14, 2004 1:48 PM> To: WebDNA-Talk@talk.smithmicro.com> Subject: Re: XML Woes>>> hmm, I tried both of these methods and I am not sure why I can't get it>> to work. This is the error I get now:>> --------------------> message: An exception occurred! Type:MalformedURLException, Message:The>> URL used an unsupported protocol> -------------------->> This is the code on my page:> [xmlparse> var=xml_var1&source=http://www.redeyeinteractive.com/feed/> acapulco.xml][/xmlparse]> [xmlnodes ref=xml_var1]> [name]=[value]
> [/xmlnodes]>> and the top of my xml is:> > >> ANY clue as to what I am doing wrong?>> ~dan>>> On Jan 14, 2004, at 4:01 PM, Scott Anderson wrote:>>> Daniel,>>>> Yes, the XMLParse will parse XML code that includes a reference to a>> dtd (or>> schema). However, there are some conditions:>>>> If your are parsing explicate XML data that you include between the>> [xmlparse] tags, then you need to make sure that the DOCTYPE element>> contains a complete URL path to the dtd file. For example:>>>> [XMLParse var=xml1]>> > "http://localhost/WebCatalog/WebDNALab/lab1/user_files/note.dtd">>> >> Tove>> Jani>> Reminder>> Don't forget me this weekend!>> [/XMLParse]>>>>>> If you parse XML using a url source, then the XML DOCTYPE element can>> contain a relative(or absolute) URL reference to the dtd file. For>> example:>>>> [XMLParse>> var=xml1&source=http://localhost/WebCatalog/WebDNALab/lab1/user_files/>>> note.x>> ml][/XMLParse]>>>> note.xml contains:>>>> >> >> >> Tove>> Jani>> Reminder>> Don't forget me this weekend!>> >>>> and the note.dtd file is located in the same location as the note.xml>>>> -----Original Message----->> From: Daniel Schutzsmith [mailto:dan@berlinprod.com]>> Sent: Wednesday, January 14, 2004 10:05 AM>> To: WebDNA-Talk@talk.smithmicro.com>> Subject: XML Woes>>>>>> When parsing an XML document, does webdna not allow the xml to use a>> DTD? This is the error I keep getting.>>>> -------------------->> Fatal Error at file>> line: 2>> column: 44>> message: An exception occurred! Type:XMLPlatformException,>> Message:Could not open file: mdtravelhealth.dtd>> An unknown error occurred:>> XMLNodes>> Container/Path Not Found:>> xml_var1>> -------------------->>>> Anyone got a clue?>>>> ~dan>>Daniel SchutzsmithSenior Web DeveloperBerlin Productions, Inc.dan@berlinprod.com914-683-5759914-683-5751 (fax)http://www.berlinprod.com>>>>>> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to>> >> Web Archive of this list is at: http://webdna.smithmicro.com/>>>>>> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to>> >> Web Archive of this list is at: http://webdna.smithmicro.com/>>>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://webdna.smithmicro.com/>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Daniel Schutzsmith
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Separate SSL Server (1997)
[WebDNA] Request to specify the sendmail file name (2015)
Kill the webcat process (2000)
Can I invoke an ssi plugin from within a webcat page (1997)
SiteEdit Pro Update Announcement (1997)
[subtotal] and others (1997)
Add more fields to an existent data base (1997)
ReadDateFormat (1998)
[WebDNA] Poll: Discussion Forum (2009)
Emailer help....! (1997)
Encrypt & SetHeader Length Problem (2000)
problems with 2 tags (1997)
newcart (1997)
Webstar 1.3.1 PPC (1997)
restart needed???? (1997)
Sending E-mail (1997)
Running _every_ page through WebCat-error.html (1997)
WebSiphon and MGI links (2000)
Search all Fields in a db (1997)
Online reference (1997)