Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   Access Denied beim oeffnen einer xml file im Browser mit dtd (https://www.delphipraxis.net/98898-access-denied-beim-oeffnen-einer-xml-file-im-browser-mit-dtd.html)

Mackhack 3. Sep 2007 21:32


Access Denied beim oeffnen einer xml file im Browser mit dtd
 
Hallo DPler,

ich habe diese xml File hier:

Zitat:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>


<!DOCTYPE Book SYSTEM ".\Format.dtd">

<?xml-stylesheet type="text/css" href="sheet.css" ?>
<!--Processing instruction. Links the document to a style sheet called "sheet.css." The page will be formatted based
on the styles written in sheet.css -->

<CSS>


<TITLE>Second Attempt Of An XML eBook</TITLE>

<TOC>
<Foreword>Foreword</Foreword>
<Chapter1>1. The First Contact</Chapter1>
<Chapter2>2. Historical Background</Chapter2>
</TOC>
<!-- The CDATA section in the TEXT element is for typing a large
block of text. There you can type markup characters, like <, or
& without confusing the hell out of the XML parser.-->

</CSS>
Und dazu hab ich diese Format.dtd File:

Zitat:

<?xml version="1.0" encoding="UTF-8" ?>

<!ELEMENT TITLE (#PCDATA)>
<!ELEMENT TOC (#PCDATA)>
<!ELEMENT Foreword (#PCDATA)>
<!ELEMENT Chapter1 (#PCDATA)>
<!ELEMENT Chapter2 (#PCDATA)>
Wenn ich versuche die xml im Browser anzuzeigen bekomme ich das hier:
Zitat:

The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

Access is denied. Error processing resource '.\Format.dtd'. Error processing resource 'file:///C:/Documents and Settings/T...

<!DOCTYPE Book SYSTEM ".\Format.dtd">
Das komische. Auf jedem anderen Rechner laeuft es ohne Probleme im IE oder FiFo. Nur bei mir nicht. Auch nach einem Reboot gelingt es mir einfach nicht!

Hat hier jemand ne Idee noch?


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:16 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz