http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2516 *** shadow/2516 Mon Jul 9 10:24:42 2001 --- shadow/2516.tmp.12763 Mon Jul 9 10:24:42 2001 *************** *** 0 **** --- 1,33 ---- + +============================================================================+ + | Schema based document validation fails, schema not considered | + +----------------------------------------------------------------------------+ + | Bug #: 2516 Product: Xerces-J | + | Status: NEW Version: 1.4.1 | + | Resolution: Platform: PC | + | Severity: Blocker OS/Version: Windows NT/2K | + | Priority: Other Component: Schema-Datatypes | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + The validation of an XML document against its schema fails with parsing errors + indicating that the parser does not find the declarations of tags in the + schema, i.e. with error messages of the type: 'Element type "object_space" must + be declared...' + + Non-strict parsing shows that ALL the tags will generate this error, though the + same XML file will correctly validate in tools such as XML-Spy! + + It appears that the schema file is not correctly loaded and parsed. No error is + given to indicate this however! + + The schema is specified in the XML document using the following + syntax: '<object_space xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="odxml.xsd"/>' + + The parser should either report that the schema fails to load or correctly + validate a document against its schema. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
