X
Tap here to go to the mobile version of the site.

Support Forum

Why is my XSL file no longer being applied to my XML file?

Posted

This morning Firefox upgraded to version 68.0 and several XML files that each reference a corresponding XSL file stopped loading as they always have. One example follows:

The file ASTest_Appl_Events..xml contains the following

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="ASTest_Appl_Events.xsl"?>
<ASTestApplEvents>
<Event xmlns='http://schemas.microsoft.com/win/2004/08/events/event'><System><Provider Name='Report Server Windows Service (MSSQLSERVER)'/><EventID Qualifiers='0'>107</EventID><Level>2</Level><Task>5</Task><Keywords>0x80000000000000</Keywords><TimeCreated SystemTime='2019-07-08T10:01:35.000000000Z'/><EventRecordID>270493</EventRecordID><Channel>Application</Channel><Computer>ASTest</Computer><Security/></System><EventData><Data>Report Server Windows Service (MSSQLSERVER)</Data></EventData></Event>
<Event xmlns='http://schemas.microsoft.com/win/2004/08/events/event'><System><Provider Name='Microsoft-Windows-User Profiles Service' Guid='{89B1E9F0-5AFF-44A6-9B44-0A07A7CE5845}'/><EventID>1530</EventID><Version>0</Version><Level>3</Level><Task>0</Task><Opcode>0</Opcode><Keywords>0x8000000000000000</Keywords><TimeCreated SystemTime='2019-07-08T10:00:10.973301100Z'/><EventRecordID>270438</EventRecordID><Correlation/><Execution ProcessID='848' ThreadID='524'/><Channel>Application</Channel><Computer>ASTest</Computer><Security UserID='S-1-5-18'/></System><EventData Name='EVENT_HIVE_LEAK'><Data Name='Detail'>1 user registry handles leaked from \Registry\User\S-1-5-21-659900985-4002748794-950523200-1002:
Process 300 (\Device\HarddiskVolume3\Windows\System32\conhost.exe) has opened key \REGISTRY\USER\S-1-5-21-659900985-4002748794-950523200-1002\Control Panel\International
</Data></EventData></Event>
</ASTestApplEvents>

The file ASTest_Appl_Events.xsl contains:

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
				xmlns:MSEvent="http://schemas.microsoft.com/win/2004/08/events/event">

<xsl:template match="/">
	<html>
	<body>
	<title>ASTest Appl Events</title>
	
	<table><tr>
		<td><h3>ASTest Application Events</h3></td>
		<td width="100"> </td>
	</tr></table>
	
	<table border="1" style="border-collapse:collapse;font-size:14px;" cellpadding="4">
		<tr bgcolor="black" style="color:white">
			<td>Server</td>
			<td>Event Type</td>
			<td>Provider</td>
			<td>Event ID</td>
			<td>Time (Mar-Oct subtract 4 hours, Nov-Feb subract 5 hours)</td>
			<td>Level</td>
			<td>Event Data</td>
			<td>User Data</td>
		</tr>
		<xsl:for-each select="ASTestApplEvents/MSEvent:Event">
			<xsl:sort select="MSEvent:System/MSEvent:TimeCreated/@SystemTime" order="descending" />
			<tr bgcolor="lightgray">
				<td><xsl:value-of select="MSEvent:System/MSEvent:Computer"/></td>
				<td><xsl:value-of select="MSEvent:System/MSEvent:Channel"/></td>
				<td><xsl:value-of select="MSEvent:System/MSEvent:Provider/@Name"/></td>
				<td><xsl:value-of select="MSEvent:System/MSEvent:EventID"/></td>
				<td><xsl:value-of select="MSEvent:System/MSEvent:TimeCreated/@SystemTime"/></td>
				<xsl:choose>
					<xsl:when test="MSEvent:System/MSEvent:Level=1">
						<td style="color:orange;">CRITICAL<br></br>(
							<xsl:value-of select="MSEvent:System/MSEvent:Level"/>)
						</td>
					</xsl:when>
					<xsl:when test="MSEvent:System/MSEvent:Level=2">
						<td style="color:red;">ERROR<br></br>(
							<xsl:value-of select="MSEvent:System/MSEvent:Level"/>)
						</td>
					</xsl:when>
					<xsl:when test="MSEvent:System/MSEvent:Level=3">
						<td style="color:green;">WARNING<br></br>(
							<xsl:value-of select="MSEvent:System/MSEvent:Level"/>)
						</td>
					</xsl:when>
					<xsl:otherwise>
						<td>(<xsl:value-of select="MSEvent:System/MSEvent:Level"/>)</td>
					</xsl:otherwise>
				</xsl:choose>
				<td><xsl:for-each select="MSEvent:EventData/MSEvent:Data">
					<img src="Blue_dot(sm).jpg"/> <strong><em><xsl:value-of select="./@Name"/>:</em></strong> <xsl:value-of select="."/><br></br>
				</xsl:for-each></td>
				<td><xsl:for-each select="MSEvent:UserData">
					<img src="Blue_dot(sm).jpg"/> <strong><em><xsl:value-of select="./@Name"/>:</em></strong> <xsl:value-of select="."/>
				</xsl:for-each></td>
			</tr>
		</xsl:for-each>
	</table>
	
	</body>
	</html>
</xsl:template>

</xsl:stylesheet> 

Screen shots of what I used to see (html generated by an Online XSL Transformer) and currently see are attached.

Any assistance would be appreciated.

Thanks, Kurt H

This morning Firefox upgraded to version 68.0 and several XML files that each reference a corresponding XSL file stopped loading as they always have. One example follows: The file ASTest_Appl_Events..xml contains the following <pre><nowiki><?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="ASTest_Appl_Events.xsl"?> <ASTestApplEvents> <Event xmlns='http://schemas.microsoft.com/win/2004/08/events/event'><System><Provider Name='Report Server Windows Service (MSSQLSERVER)'/><EventID Qualifiers='0'>107</EventID><Level>2</Level><Task>5</Task><Keywords>0x80000000000000</Keywords><TimeCreated SystemTime='2019-07-08T10:01:35.000000000Z'/><EventRecordID>270493</EventRecordID><Channel>Application</Channel><Computer>ASTest</Computer><Security/></System><EventData><Data>Report Server Windows Service (MSSQLSERVER)</Data></EventData></Event> <Event xmlns='http://schemas.microsoft.com/win/2004/08/events/event'><System><Provider Name='Microsoft-Windows-User Profiles Service' Guid='{89B1E9F0-5AFF-44A6-9B44-0A07A7CE5845}'/><EventID>1530</EventID><Version>0</Version><Level>3</Level><Task>0</Task><Opcode>0</Opcode><Keywords>0x8000000000000000</Keywords><TimeCreated SystemTime='2019-07-08T10:00:10.973301100Z'/><EventRecordID>270438</EventRecordID><Correlation/><Execution ProcessID='848' ThreadID='524'/><Channel>Application</Channel><Computer>ASTest</Computer><Security UserID='S-1-5-18'/></System><EventData Name='EVENT_HIVE_LEAK'><Data Name='Detail'>1 user registry handles leaked from \Registry\User\S-1-5-21-659900985-4002748794-950523200-1002: Process 300 (\Device\HarddiskVolume3\Windows\System32\conhost.exe) has opened key \REGISTRY\USER\S-1-5-21-659900985-4002748794-950523200-1002\Control Panel\International </Data></EventData></Event> </ASTestApplEvents> </nowiki></pre> The file ASTest_Appl_Events.xsl contains: <pre><nowiki><?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:MSEvent="http://schemas.microsoft.com/win/2004/08/events/event"> <xsl:template match="/"> <html> <body> <title>ASTest Appl Events</title> <table><tr> <td><h3>ASTest Application Events</h3></td> <td width="100"> </td> </tr></table> <table border="1" style="border-collapse:collapse;font-size:14px;" cellpadding="4"> <tr bgcolor="black" style="color:white"> <td>Server</td> <td>Event Type</td> <td>Provider</td> <td>Event ID</td> <td>Time (Mar-Oct subtract 4 hours, Nov-Feb subract 5 hours)</td> <td>Level</td> <td>Event Data</td> <td>User Data</td> </tr> <xsl:for-each select="ASTestApplEvents/MSEvent:Event"> <xsl:sort select="MSEvent:System/MSEvent:TimeCreated/@SystemTime" order="descending" /> <tr bgcolor="lightgray"> <td><xsl:value-of select="MSEvent:System/MSEvent:Computer"/></td> <td><xsl:value-of select="MSEvent:System/MSEvent:Channel"/></td> <td><xsl:value-of select="MSEvent:System/MSEvent:Provider/@Name"/></td> <td><xsl:value-of select="MSEvent:System/MSEvent:EventID"/></td> <td><xsl:value-of select="MSEvent:System/MSEvent:TimeCreated/@SystemTime"/></td> <xsl:choose> <xsl:when test="MSEvent:System/MSEvent:Level=1"> <td style="color:orange;">CRITICAL<br></br>( <xsl:value-of select="MSEvent:System/MSEvent:Level"/>) </td> </xsl:when> <xsl:when test="MSEvent:System/MSEvent:Level=2"> <td style="color:red;">ERROR<br></br>( <xsl:value-of select="MSEvent:System/MSEvent:Level"/>) </td> </xsl:when> <xsl:when test="MSEvent:System/MSEvent:Level=3"> <td style="color:green;">WARNING<br></br>( <xsl:value-of select="MSEvent:System/MSEvent:Level"/>) </td> </xsl:when> <xsl:otherwise> <td>(<xsl:value-of select="MSEvent:System/MSEvent:Level"/>)</td> </xsl:otherwise> </xsl:choose> <td><xsl:for-each select="MSEvent:EventData/MSEvent:Data"> <img src="Blue_dot(sm).jpg"/> <strong><em><xsl:value-of select="./@Name"/>:</em></strong> <xsl:value-of select="."/><br></br> </xsl:for-each></td> <td><xsl:for-each select="MSEvent:UserData"> <img src="Blue_dot(sm).jpg"/> <strong><em><xsl:value-of select="./@Name"/>:</em></strong> <xsl:value-of select="."/> </xsl:for-each></td> </tr> </xsl:for-each> </table> </body> </html> </xsl:template> </xsl:stylesheet> </nowiki></pre> Screen shots of what I used to see (html generated by an Online XSL Transformer) and currently see are attached. Any assistance would be appreciated. Thanks, Kurt H
Attached screenshots

Modified by cor-el

Chosen solution

So in another request: Firefox local development "CORS request not http", I found the suggestion to toggle the value of the about:config setting privacy.file_unique_origin. Doing so resolved my page load issue, but at the same time feels like it could leave my browser far less safe.

Read this answer in context 0
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

  • Firefox 68.0
  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
  • Support URL: https://support.mozilla.org/1/firefox/68.0/WINNT/en-US/

Extensions

  • Amazon.com 1.1 (amazondotcom@search.mozilla.org)
  • Bing 1.0 (bing@search.mozilla.org)
  • Covenant Eyes for Mozilla Firefox™ 1.0.2 (firefox-integrated-extension@covenanteyes.com)
  • DuckDuckGo 1.0 (ddg@search.mozilla.org)
  • eBay 1.0 (ebay@search.mozilla.org)
  • Google 1.0 (google@search.mozilla.org)
  • Twitter 1.0 (twitter@search.mozilla.org)
  • Wikipedia (en) 1.0 (wikipedia@search.mozilla.org)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: NVIDIA GeForce 210
  • adapterDescription2:
  • adapterDeviceID: 0x0a65
  • adapterDeviceID2:
  • adapterDrivers: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
  • adapterDrivers2:
  • adapterRAM: 1024
  • adapterRAM2:
  • adapterSubsysID: 00000000
  • adapterSubsysID2:
  • adapterVendorID: 0x10de
  • adapterVendorID2:
  • clearTypeParameters: \\.\DISPLAY1 [ Gamma: 1.8 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 50 ] \\.\DISPLAY2 [ Gamma: 1.8 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 50 ]
  • contentUsesTiling: False
  • crashGuards: []
  • direct2DEnabled: True
  • directWriteEnabled: True
  • directWriteVersion: 10.0.14393.3024
  • driverDate: 11-14-2016
  • driverDate2:
  • driverVendor:
  • driverVendor2:
  • driverVersion: 21.21.13.4201
  • driverVersion2:
  • featureLog: {u'fallbacks': [], u'features': [{u'status': u'available', u'description': u'Compositing', u'name': u'HW_COMPOSITING', u'log': [{u'status': u'available', u'type': u'default'}]}, {u'status': u'available', u'description': u'Direct3D11 Compositing', u'name': u'D3D11_COMPOSITING', u'log': [{u'status': u'available', u'type': u'default'}]}, {u'status': u'available', u'description': u'Direct2D', u'name': u'DIRECT2D', u'log': [{u'status': u'available', u'type': u'default'}]}, {u'status': u'available', u'description': u'Direct3D11 hardware ANGLE', u'name': u'D3D11_HW_ANGLE', u'log': [{u'status': u'available', u'type': u'default'}]}, {u'status': u'available', u'description': u'GPU Process', u'name': u'GPU_PROCESS', u'log': [{u'status': u'available', u'type': u'default'}]}, {u'status': u'opt-in', u'description': u'WebRender', u'name': u'WEBRENDER', u'log': [{u'status': u'opt-in', u'message': u'WebRender is an opt-in feature', u'type': u'default'}]}, {u'status': u'blacklisted', u'description': u'WebRender qualified', u'name': u'WEBRENDER_QUALIFIED', u'log': [{u'status': u'available', u'type': u'default'}, {u'status': u'blacklisted', u'message': u'No qualified hardware', u'type': u'env'}]}, {u'status': u'available', u'description': u'Off Main Thread Painting', u'name': u'OMTP', u'log': [{u'status': u'available', u'type': u'default'}]}, {u'status': u'available', u'description': u'Advanced Layers', u'name': u'ADVANCED_LAYERS', u'log': [{u'status': u'available', u'type': u'default'}]}]}
  • info: {u'AzureContentBackend (UI Process)': u'skia', u'AzureCanvasBackend (UI Process)': u'skia', u'ApzWheelInput': 1, u'ApzDragInput': 1, u'ApzKeyboardInput': 1, u'AzureFallbackCanvasBackend (UI Process)': u'cairo', u'ApzAutoscrollInput': 1, u'AzureCanvasBackend': u'direct2d 1.1', u'AzureContentBackend': u'direct2d 1.1'}
  • isGPU2Active: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • offMainThreadPaintEnabled: True
  • offMainThreadPaintWorkerCount: 3
  • targetFrameRate: 60
  • usesTiling: False
  • webgl1DriverExtensions: GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_explicit_context GL_ANGLE_explicit_context_gles1 GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_memory_size GL_ANGLE_multi_draw GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_provoking_vertex GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_func_extended GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_float_blend GL_EXT_frag_depth GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_KHR_parallel_shader_compile GL_KHR_robust_buffer_access_behavior GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_border_clamp GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object OES_compressed_EAC_R11_signed_texture OES_compressed_EAC_R11_unsigned_texture OES_compressed_EAC_RG11_signed_texture OES_compressed_EAC_RG11_unsigned_texture OES_compressed_ETC2_RGB8_texture OES_compressed_ETC2_RGBA8_texture OES_compressed_ETC2_punchthroughA_RGBA8_texture OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture OES_compressed_ETC2_sRGB8_alpha8_texture OES_compressed_ETC2_sRGB8_texture
  • webgl1Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_disjoint_timer_query EXT_float_blend EXT_frag_depth EXT_shader_texture_lod EXT_sRGB EXT_texture_filter_anisotropic OES_element_index_uint OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context
  • webgl1Renderer: Google Inc. -- ANGLE (NVIDIA GeForce 210 Direct3D11 vs_4_1 ps_4_1)
  • webgl1Version: OpenGL ES 2.0 (ANGLE 2.1.0.8a050090f926)
  • webgl1WSIInfo: EGL_VENDOR: Google Inc. (adapter LUID: 0000000000006853) EGL_VERSION: 1.4 (ANGLE 2.1.0.8a050090f926) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled EGL_ANDROID_blob_cache EGL_ANDROID_recordable EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_ANGLE_explicit_context
  • webgl2DriverExtensions: GL_ANGLE_client_arrays GL_ANGLE_copy_texture_3d GL_ANGLE_depth_texture GL_ANGLE_explicit_context GL_ANGLE_explicit_context_gles1 GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_memory_size GL_ANGLE_multi_draw GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_provoking_vertex GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_multisample GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_func_extended GL_EXT_blend_minmax GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_float_blend GL_EXT_frag_depth GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_norm16 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_KHR_parallel_shader_compile GL_KHR_robust_buffer_access_behavior GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_border_clamp GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object OES_compressed_EAC_R11_signed_texture OES_compressed_EAC_R11_unsigned_texture OES_compressed_EAC_RG11_signed_texture OES_compressed_EAC_RG11_unsigned_texture OES_compressed_ETC2_RGB8_texture OES_compressed_ETC2_RGBA8_texture OES_compressed_ETC2_punchthroughA_RGBA8_texture OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture OES_compressed_ETC2_sRGB8_alpha8_texture OES_compressed_ETC2_sRGB8_texture
  • webgl2Extensions: EXT_color_buffer_float EXT_disjoint_timer_query EXT_float_blend EXT_texture_filter_anisotropic OES_texture_float_linear WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context
  • webgl2Renderer: Google Inc. -- ANGLE (NVIDIA GeForce 210 Direct3D11 vs_4_1 ps_4_1)
  • webgl2Version: OpenGL ES 3.0 (ANGLE 2.1.0.8a050090f926)
  • webgl2WSIInfo: EGL_VENDOR: Google Inc. (adapter LUID: 0000000000006853) EGL_VERSION: 1.4 (ANGLE 2.1.0.8a050090f926) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled EGL_ANDROID_blob_cache EGL_ANDROID_recordable EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_ANGLE_explicit_context
  • windowLayerManagerRemote: True
  • windowLayerManagerType: Direct3D 11
  • windowUsingAdvancedLayers: True

Modified Preferences

Misc

  • User JS: No
  • Accessibility: No
jscher2000
  • Top 10 Contributor
8580 solutions 70174 answers

Hi Kurt, the site "eats" certain tags, but I see you have:

<?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="ASTest_Appl_Events.xsl"?>

Are these being served on http/https, or opened from disk (file URL)? If you right-click the page and choose View Page Info, does it have an XML content-type such as application/xml or text/xml?

On the style sheet, I notice it uses an unusual namespace, although that might not matter:

<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:MSEvent="http://schemas.microsoft.com/win/2004/08/events/event">

Could you check for messages in Firefox's Web Console? You can open the Web Console in the lower part of the tab using either:

  • "3-bar" menu button > Web Developer > Web Console
  • (menu bar) Tools > Web Developer > Web Console
  • (Windows) Ctrl+Shift+k

Then reload the page in the upper part of the tab and watch for error or security messages. Anything that sounds like it could be relevant? You can expand the list by using the row of headings starting with Errors Warning Logs in case there are messages in other categories.

Hi Kurt, the site "eats" certain tags, but I see you have: &lt;?xml version="1.0" encoding="ISO-8859-1"?> &lt;?xml-stylesheet type="text/xsl" href="ASTest_Appl_Events.xsl"?> Are these being served on http/https, or opened from disk (file URL)? If you right-click the page and choose View Page Info, does it have an XML content-type such as application/xml or text/xml? On the style sheet, I notice it uses an unusual namespace, although that might not matter: &lt;?xml version="1.0" encoding="ISO-8859-1"?> &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3''.''org/1999/XSL/Transform" '''xmlns:MSEvent'''="http://schemas.microsoft''.''com/win/2004/08/events/event"> Could you check for messages in Firefox's Web Console? You can open the Web Console in the lower part of the tab using either: * "3-bar" menu button > Web Developer > Web Console * (menu bar) Tools > Web Developer > Web Console * (Windows) Ctrl+Shift+k Then reload the page in the upper part of the tab and watch for error or security messages. Anything that sounds like it could be relevant? You can expand the list by using the row of headings starting with Errors Warning Logs in case there are messages in other categories.
Was this helpful to you? 1
Quote

Question owner

My files are being opened from the command line as a file URL: start "" "C:\Program Files\Mozilla Firefox\firefox.exe" c:\Workspace\ASTest_Appl_Events.xml

Thanks for the information on the Web Console. I see from it that it's not reading my XLS file due to the Same Origin Policy, apparently because the request is not http. I'll have to see if there is a way to override that policy for specific locations on my network.

My files are being opened from the command line as a file URL: start "" "C:\Program Files\Mozilla Firefox\firefox.exe" c:\Workspace\ASTest_Appl_Events.xml Thanks for the information on the Web Console. I see from it that it's not reading my XLS file due to the Same Origin Policy, apparently because the request is not http. I'll have to see if there is a way to override that policy for specific locations on my network.

Modified by Kurt H

Was this helpful to you? 0
Quote

Chosen Solution

So in another request: Firefox local development "CORS request not http", I found the suggestion to toggle the value of the about:config setting privacy.file_unique_origin. Doing so resolved my page load issue, but at the same time feels like it could leave my browser far less safe.

So in another request: Firefox local development "CORS request not http", I found the suggestion to toggle the value of the about:config setting privacy.file_unique_origin. Doing so resolved my page load issue, but at the same time feels like it could leave my browser far less safe.
Was this helpful to you? 0
Quote
jscher2000
  • Top 10 Contributor
8580 solutions 70174 answers

Kurt H said

So in another request: Firefox local development "CORS request not http", I found the suggestion to toggle the value of the about:config setting privacy.file_unique_origin. Doing so resolved my page load issue, but at the same time feels like it could leave my browser far less safe.

You beat me to it.

As for the safety of it, it is a theoretical basis for an attack. The problem could arise when you open an untrusted page in a folder with sensitive files. If you save pages from untrusted sites in a separate folder, e.g., Downloads\Untrusted, then it would be difficult for an attacker to find any valuable content using local file links.

''Kurt H [[#answer-1236496|said]]'' <blockquote> So in another request: Firefox local development "CORS request not http", I found the suggestion to toggle the value of the about:config setting privacy.file_unique_origin. Doing so resolved my page load issue, but at the same time feels like it could leave my browser far less safe. </blockquote> You beat me to it. As for the safety of it, it is a theoretical basis for an attack. The problem could arise when you open an untrusted page in a folder with sensitive files. If you save pages from untrusted sites in a separate folder, e.g., Downloads\Untrusted, then it would be difficult for an attacker to find any valuable content using local file links.
Was this helpful to you? 0
Quote
anderci 2 solutions 20 answers

I create xml files in a ..\reports directory They reference a stylesheet e.g.: '.\SurveyRespondentList.xsl'

The most recent Firefox Quantum 68.0 (64-bit) appears to be 'broken' Previous versions have worked over the years The newest version apparently broke something. My reports also work on Internet Explorer 11 My applications are open to all and I have been using this approach to create and display database query reports for years.

I create xml files in a ..\reports directory They reference a stylesheet e.g.: '.\SurveyRespondentList.xsl' The most recent Firefox Quantum 68.0 (64-bit) appears to be 'broken' Previous versions have worked over the years The newest version apparently broke something. My reports also work on Internet Explorer 11 My applications are open to all and I have been using this approach to create and display database query reports for years.

Modified by anderci

Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8580 solutions 70174 answers

anderci said

The newest version apparently broke something.

Yes, there was a security patch which restricts local file loads by local pages. As noted in the solution at the top, you can roll back that patch:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste uniq and pause while the list is filtered

(3) Double-click the privacy.file_unique_origin preference to switch the value from true to false

''anderci [[#answer-1236829|said]]'' <blockquote> The newest version apparently broke something. </blockquote> Yes, there was a security patch which restricts local file loads by local pages. As noted in the solution at the top, you can roll back that patch: (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk. (2) In the search box above the list, type or paste '''uniq''' and pause while the list is filtered (3) Double-click the '''privacy.file_unique_origin''' preference to switch the value from true to false
Was this helpful to you?
Quote
anderci 2 solutions 20 answers

Thank you for responding. How does this help any/all users trying to view __.xml report files? If they are using Firefox, they would be using the default version.

Thank you for responding. How does this help any/all users trying to view __.xml report files? If they are using Firefox, they would be using the default version.
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8580 solutions 70174 answers

anderci said

How does this help any/all users trying to view __.xml report files? If they are using Firefox, they would be using the default version.

This change I mentioned is for file:// URLs. It shouldn't affect opening XML files from a server on a http:// or https:// URL.

''anderci [[#answer-1236857|said]]'' <blockquote> How does this help any/all users trying to view __.xml report files? If they are using Firefox, they would be using the default version. </blockquote> This change I mentioned is for file:// URLs. It shouldn't affect opening XML files from a server on a http:// or https:// URL.
Was this helpful to you?
Quote
anderci 2 solutions 20 answers

Thank you for responding. ALL of the report files are file:// URLs created for the user on their local PC by the programs I created for their use on their local PC. This approach has worked very well for years.

Thank you for responding. ALL of the report files are file:// URLs created for the user on their local PC by the programs I created for their use on their local PC. This approach has worked very well for years.
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8580 solutions 70174 answers

Hi anderci, unfortunately your users either need to roll back this patch or view the XML files in a different browser.

Hi anderci, unfortunately your users either need to roll back this patch or view the XML files in a different browser.
Was this helpful to you?
Quote
anderci 2 solutions 20 answers

1) Is the simple functionality I have used for years gone forever? Or will some eventual future patch restore it? 2) Can this patch rollback be handled by some type of script?

1) Is the simple functionality I have used for years gone forever? Or will some eventual future patch restore it? 2) Can this patch rollback be handled by some type of script?
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8580 solutions 70174 answers

Hi anderci:

> 1) Is the simple functionality I have used for years gone forever? Or will some eventual future patch restore it?

The developers are aware that this patch created problems with HTML-based help documentation, but they weren't able to come up with a way to distinguish legitimate local links from potential attack links. In the future, they might come up with something to allow help documentation to work again and hopefully you would be able to benefit from that, but it's not likely to happen soon.

> 2) Can this patch rollback be handled by some type of script?

It's not very convenient to try to script changes to Firefox settings files because they are stored in profile folders with a randomized name. Also, I wouldn't recommend rolling back security patches applied to your customers' systems without their knowledge and consent. That might make you liable for a potential data breach.

Hi anderci: > 1) Is the simple functionality I have used for years gone forever? Or will some eventual future patch restore it? The developers are aware that this patch created problems with HTML-based help documentation, but they weren't able to come up with a way to distinguish legitimate local links from potential attack links. In the future, they might come up with something to allow help documentation to work again and hopefully you would be able to benefit from that, but it's not likely to happen soon. > 2) Can this patch rollback be handled by some type of script? It's not very convenient to try to script changes to Firefox settings files because they are stored in profile folders with a randomized name. Also, I wouldn't recommend rolling back security patches applied to your customers' systems without their knowledge and consent. That might make you liable for a potential data breach.
Was this helpful to you?
Quote
lmxmoz 0 solutions 3 answers

Hi there,

You can install another Firefox ( Firefox ESR)as dual-installation to solve this issue. Means you have two Firefoxes on one OS: Firefox 68(or later) and Firefox 60 ESR. It might not be a complete solution(this is an important point in the context of your manner) but it works. For instance, to open an XML file including an XSL file uses Firefox 60 ESR, to Internet browsing uses Firefox 68 or later. Don't use Firefox 68 ESR(or later) as this way because it works the same to Firefox 68 in terms of the CORS.(see MDN web docs 'Reason: CORS request not HTTP' > Local File Security in Firefox 68 ). Now your latest Firefox keeps CORS security while your Firefox ESR is downgraded at the old version of CORS.

This solution aims to debug the XML/XSL that placed on local with Firefox. (file:///folder.../xxx.xml)

To install Firefox ESR as the addition, choosing custom install is a must to pre-create a 'Mozilla Firefox ESR' folder that Firefox ESR will be installed. If you are using Windows, open 'Run' and enter-in 'firefox -p' then press Enter, You can create a new profile to use with the Firefox ESR. It might better that choose another folder that is different from Firefox Quantum already installed. As a preparation, open Firefox already installed, go help > Troubleshooting Information.

firefox esr 60: https://www.mozilla.org/en-US/firefox/organizations/

Hi there, You can install another Firefox ( Firefox ESR)as dual-installation to solve this issue. Means you have two Firefoxes on one OS: Firefox 68(or later) and Firefox 60 ESR. '''It might not be a complete solution'''(this is an important point in the context of your manner) but it works. For instance, to open an XML file including an XSL file uses Firefox 60 ESR, to Internet browsing uses Firefox 68 or later. Don't use Firefox 68 ESR(or later) as this way because it works the same to Firefox 68 in terms of the CORS.(see MDN web docs 'Reason: CORS request not HTTP' > Local File Security in Firefox 68 ). Now your latest Firefox keeps CORS security while your Firefox ESR is downgraded at the old version of CORS. This solution aims to debug the XML/XSL that placed on local with Firefox. (file:///folder.../xxx.xml) To install Firefox ESR as the addition, choosing custom install is a must to pre-create a 'Mozilla Firefox ESR' folder that Firefox ESR will be installed. If you are using Windows, open 'Run' and enter-in 'firefox -p' then press Enter, You can create a new profile to use with the Firefox ESR. It might better that choose another folder that is different from Firefox Quantum already installed. As a preparation, open Firefox already installed, go help > Troubleshooting Information. firefox esr 60: https://www.mozilla.org/en-US/firefox/organizations/
Was this helpful to you?
Quote
satakagi 0 solutions 2 answers

This change seems to be causing problems in various places. Can I temporarily change the value of privacy.file_unique_origin by command line option? Chrome has options like --allow-file-access-from-files.

https://stackoverflow.com/questions/56999411/firefox-68-local-files-now-treated-as-cross-origin-is-there-a-way-to-override

This change seems to be causing problems in various places. Can I temporarily change the value of privacy.file_unique_origin by command line option? Chrome has options like --allow-file-access-from-files. https://stackoverflow.com/questions/56999411/firefox-68-local-files-now-treated-as-cross-origin-is-there-a-way-to-override

Modified by satakagi

Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8580 solutions 70174 answers

Hi satakagi, there is not a command-line switch to flip that preference from true to false.

Hi satakagi, there is not a command-line switch to flip that preference from true to false.
Was this helpful to you?
Quote
satakagi 0 solutions 2 answers

Thank you for answering. As I faced this problem in my project too, I solved it by changing to a test using google Chrome recently. I would be glad if you could support future command line options like Chrome's --allow-file-access-from-files.

Thank you for answering. As I faced this problem in my project too, I solved it by changing to a test using google Chrome recently. I would be glad if you could support future command line options like Chrome's --allow-file-access-from-files.
Was this helpful to you?
Quote
anderci 2 solutions 20 answers

Another approach is to modify the .xml file to imbed the XSLT code. I believe this works with Firefox 68 and Firefox 64 and Chrome 75 but not with IE 11. Very unfortunately I know of no clear trend among web browsers to reject the 'reports' with .xml and .xsl paired files and to accept .xml files with the embedded xslt style code. Also, I have not learned the clean way of doing this embedded style code .

Another approach is to modify the .xml file to imbed the XSLT code. I believe this works with Firefox 68 and Firefox 64 and Chrome 75 but not with IE 11. Very unfortunately I know of no clear trend among web browsers to reject the 'reports' with .xml and .xsl paired files and to accept .xml files with the embedded xslt style code. Also, I have not learned the clean way of doing this embedded style code .
Was this helpful to you? 0
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.