Closed
Bug 550518
Opened 15 years ago
Closed 15 years ago
XML-Process-Failurre-Page will be shown if "<?xml:stylesheet href="doc.xsl" type="text/xsl"?>" is found in a well formed local XML file
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: rahel.adam_feigenbaum, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2) Gecko/20100115 Firefox/3.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2) Gecko/20100115 Firefox/3.6
"XML-Process Failure: not well formed"(1) page(2) is shown when I try to open a well formed(opening file with other applications succeeded) XML file(3) which is saved on local hdd.
The error message notes that the colon sign in 2nd line of the XML file(3) is the problem.
You will find the sources of (1),(2) and (3) also links to the original used XSL (4) and CSS (5) files in "Aditional Information".
Reproducible: Always
Steps to Reproduce:
1. Create a valid XML File
2. Add/Replace a/the second line "<?xml:stylesheet href="YourValidStyleDef.xsl" type="text/xsl"?>" after "<?xml version="1.0"?>"
3. Now add a vaild/well-formed XSL stylesheet in the same folder where your XML is saved
4. Add also a valid/well-formed CSS file which you refer in "YourValidStyleDef.xsl"
5. Now try to open your XML file by Fire Fox
6. You will get an Error-Message (XML-Process Failure: not well formed)
Actual Results:
Following page (error-msg) is shown: "https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&format=guided"
Expected Results:
A page like an HTML should be shown (first line Blue, all lines containing "xxx property" purple/violett). The content should be as follow:
"MMO.ID3.IID3
Defines methodes and properties to read/get ID3-Tag-Data.
Album property
Contains name of ALBUM as string.
Artist property
Contains name of Artist/Interpret/Band as string.
Comment property
Contains Comment of ID3-TAG as string. "
(1) Content of Fire-Fox-Error-Message:
"XML-Verarbeitungsfehler: nicht wohlgeformt
Adresse: file:///E:/Dropbox/My%20Dropbox/source/MMO/MMO/Documentation/WellFormed.xml
Zeile Nr. 2, Spalte 6:<?xml:stylesheet href="doc.xsl" type="text/xsl"?>
-----^"
(2) Link of Fire-Fox-Error-Message:
"https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&format=guided"
(3) Content of XML file:
"<?xml version="1.0"?>
<?xml:stylesheet href="doc.xsl" type="text/xsl"?>
<doc>
<assembly>
<name>MMO</name>
</assembly>
<members>
<member name="T:MMO.ID3.IID3">
<summary>
Defines methodes and properties to read/get ID3-Tag-Data.
</summary>
</member>
<member name="P:MMO.ID3.IID3.Album">
<summary>
Contains name of ALBUM as string.
</summary>
</member>
<member name="P:MMO.ID3.IID3.Artist">
<summary>
Contains name of Artist/Interpret/Band as string.
</summary>
</member>
<member name="P:MMO.ID3.IID3.Comment">
<summary>
Contains Comment of ID3-TAG as string.
</summary>
</member>
</members>
</doc>
"
(4) Link of XSL stylesheet:
"http://dotnet.jku.at/docview/doc.xsl"
(5) Link of CSS stylesheet:
"http://dotnet.jku.at/docview/doc.css"
Comment 1•15 years ago
|
||
The correct syntax is xml-stylesheet not xml:stylesheet
http://www.w3.org/Style/styling-XML
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•