Bug #1130
closedSystem Id is changed by Metacat
0%
Description
When a user try to read a document which is based on dtd, currently Metacat will
send back the document with the system id which is regestered in xml_catalog
table. If the system id in the table is different to original one when user
upload to metacat, the document will be changed. This is not what we want: come
in and go out is same. Metacat shouldn't change the system id in operation.
Updated by Jing Tao over 21 years ago
Metacat didn't store the info about docname, public id and system id when user
upload a xml document.
I create new DBSAXNode constructor to store the docname, public id and system id
info and write to database.
When user try to read a document from metacat, if the document is old one and didn't
store the info about docname, public and system id info, Metacat will using the
default info (info from xml_catalog table) to handle it. If xml_nodes table has
the info, it will input the info from xml_nodes table.