My Oracle Support Banner

XML Schema Validation (XSD) throwing XML-24500 (Doc ID 2906232.1)

Last updated on JULY 20, 2024

Applies to:

Oracle XML Developers Kit - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

Customer wants to validate, in Java code, XML against XML Schema (further XSD only) and inside the XSD is an import of another XSD.

The java code is outside the Datablase and is based on the doc XML Developers Kit Programmers Guide:
https://docs.oracle.com/en/database/oracle/oracle-database/18/adxdk/using-XSLT-processor-for-Java.html#GUID-E148A072-BDBE-40A4-A393-F4FC362382F5

-------------

XML parser throws the following exception:
XML-24500: (Error) Can not build schema 'http://www.w3.org/2000/09/xmldsig#' located at '<FILE_PATH>'
XSDExceptionoracle.xml.parser.schema.XSDException: Can not build schema 'http://www.w3.org/2000/09/xmldsig#' located at '<FILE_PATH>'
at oracle.xml.parser.schema.XSDBuilder.buildSchema(XSDBuilder.java:1199)
at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:679)
  
The imported schema (<SCHEMA_NAME>.xsd) is located in the same directory as the base XSD file, against which the validation starts.

Changes

 None. This is a new implementation

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.