[brailleblaster] Re: No Internet connection

  • From: Keith Creasy <kcreasy@xxxxxxx>
  • To: "brailleblaster@xxxxxxxxxxxxx" <brailleblaster@xxxxxxxxxxxxx>
  • Date: Thu, 18 Jul 2013 16:00:42 +0000

If you have an XML document that uses a "PUBLIC" DTD for validation the parser 
is going to try to resolve the URL and use the DTD to validate and normalize 
the XML. 

Not all XML documents use a DTD and some of them use a "SYSTEM" DTD which would 
not require resolving a URL. The latter would not require an internet 
connection.


It is also possible to instruct the parser not to try and "resolve externals" 
but I don't advise it because not doing so can cause other complications.


If this becomes an issue we can pre-process the document and add a SYSTEM DTD 
for document types we know about.


-----Original Message-----
From: brailleblaster-bounce@xxxxxxxxxxxxx 
[mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of Steve Jacobson
Sent: Wednesday, July 17, 2013 9:27 AM
To: brailleblaster@xxxxxxxxxxxxx
Subject: [brailleblaster] Re: No Internet connection

Just curious, what is it that requires an internet connection?

Best regards,

Steve Jacobson


On Tue, 16 Jul 2013 14:45:48 -0400, Brandon Roller wrote:

>That is a different error


>On Tue, Jul 16, 2013 at 2:33 PM, Vic Beckley <vic.beckley3@xxxxxxxxx> wrote:

>> Brandon,
>>
>> What is your error checking supposed to do when there is no Internet 
>> connection? I got this error:
>>
>> ---------------------------
>>
>> ---------------------------
>> An error occurred while reading the document.
>> ---------------------------
>> OK
>> ---------------------------
>>
>> Is that correct? Shouldn't it say something about needing an Internet 
>> connection?
>>
>>
>> Best regards from Ohio,
>>
>> Vic
>>
>>
>>
>>
>>






Other related posts: