On Mon, 12 Oct 2009 23:20:45 -0700, Selven Xavier
<[email protected]> wrote:
From the forum, we understand that the <<schema>>.xsd file should be
present
in schema database only. But cpf.xsd, pipelines.xsd file used in
pdf-pipeline.xml is not available under schema database but those file
are
available under /Config directory in file system. Can anyone help us how
xml
file is mapped with the xsd file?
Some schemas are built in to the server. These are in the Config directory
and loaded up during start-up. For user schemas, you should use the
schemas database.
In general the schemaLocation on an instance is resolved relative to the
URI of that instance (if any). The built-in schemas are resolved as
non-relative, if all else fails (these built-in schemas are checked last).
(You shouldn't, however, supercede the built-in schemas, especially
not for ML structures such as pipelines.)
So, if you have a document in your database at the URI
"http://example.com/folder/mydoc.xml"
then a schemaLocation in the document of
"xsd/mydoc.xsd" will resolve to
"http://example.com/folder/xsd/mydoc.xsd" in
your schemas database.
//Mary
[email protected]
Principal Engineer
Mark Logic Corporation
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general