Project

General

Profile

Actions

Feature #7098

closed

Add the feature to support the noNamespaceSchemaLocation attribute in xml objects

Added by Jing Tao about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
08/30/2016
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

Currently, Metacat caches the schemas with the combination keys of namespaces plus format ids. It set the property of "http://apache.org/xml/properties/schema/external-schemaLocation" to the sax parser for the schema validation. This doesn't work for the noNamespaceSchemaLocation since the schema in the attribute can't have a target namespace:
The noNamespaceSchemaLocation attribute references an XML Schema document that does not have a target namespace.
(please see https://msdn.microsoft.com/en-us/library/ms256139(v=vs.110).aspx)

The parser should be set by the property "http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation"


Files

schemaLocation.rtf (3.53 KB) schemaLocation.rtf Jing Tao, 09/01/2016 12:50 PM
fgdc.xml (2.65 KB) fgdc.xml Jing Tao, 09/06/2016 05:06 PM
Actions

Also available in: Atom PDF