Einzelnen Beitrag anzeigen

Benutzerbild von Mackhack
Mackhack

Registriert seit: 29. Nov 2003
Ort: San Diego, CA/USA
1.446 Beiträge
 
Delphi 2006 Architect
 
#1

Access Denied beim oeffnen einer xml file im Browser mit dtd

  Alt 3. Sep 2007, 21:32
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?
Um etwas Neues zu schaffen muss man seine Ohren vor den Nein-sagern verschliessen um seinen Geist öffnen zu können.
(George Lukas)
  Mit Zitat antworten Zitat