[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Error loading stylesheet: A network error occurred loading an XSLT stylesheet:


Subject: Re: [xsl] Error loading stylesheet: A network error occurred loading an XSLT stylesheet:
From: "Timothy W. Cook tim@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 24 Sep 2014 15:42:33 -0000

Michael,
Where would I find this mime-type?
When I look at the DOM in Firebug I see a mimeTypes array with several
there but looking under content I do not see any reference to mime-type.


On Wed, Sep 24, 2014 at 12:31 PM, Michael Dykman mdykman@xxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> Use  firebug to determine what mime-type is being used when the XML is
> loaded. If your problem is limited to remote browsing, it is a likely
> suspect.  I recall getting 'network error' reports when that was incorrect.
> On 24 Sep 2014 11:26, "Timothy W. Cook tim@xxxxxxxxx" <
> xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
>>
>> I am getting the above error in Firefox 32.0, in Chrome Version
>> 37.0.2062.120 I get a blank page but show page source displays the XML file
>> (it is a schema).
>>
>> The details are that this is a stylesheet that I am developing and when I
>> reference it locally, it is working as expected. Adding the reference to
>> the schema from the website copy causes this error.
>>
>> The stylesheet is located
>> http://www.mlhim.org/xmlns/mlhim2/2_4_5/ccd-description.xsl
>>
>> An example of the source schema files is here:
>> https://github.com/mlhim/specs/blob/2_4_5/2_4_5/examples/Care_CCD_245.xsd
>>
>>
>> They do not have the reference to the style sheet (yet) but adding:
>>
>> <?xml-stylesheet type="text/xsl" href="http://www.mlhim.org/xmlns/mlhim2/2_4_5/ccd-description.xsl"?>
>>
>> to one of those schemas should display the problem.
>>
>>
>> I will add that the website is hosted by github and the full URL to the
>> stylesheet is
>> https://github.com/mlhim/mlhim.github.io/blob/master/xmlns/mlhim2/2_4_5/ccd-description.xsl
>>
>>
>> But even using that I get an 'unknown error'.
>>
>> I know that GitHub redirects www.mlhim.org to mlhim.org But changing the
>> reference to not use the 'www' also gives me a network error.
>> I am posting this here in case there is something I am doing wrong in
>> referencing the stylesheet.
>> This is my first foray into XSL transformations.
>>
>> Thanks,
>> Tim
>>
>>
>> ============================================
>> Timothy Cook
>> LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook
>> MLHIM http://www.mlhim.org
>>
>>   XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>
>> EasyUnsubscribe <http://-list/721807> (by email)
>>
>   XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>
> EasyUnsubscribe <-list/730528> (by
> email <>)
>



-- 

============================================
Timothy Cook
LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook
MLHIM http://www.mlhim.org


Current Thread
Keywords