Revision 9583
Added by Jing Tao over 8 years ago
SchemaLocationResolver.java | ||
---|---|---|
339 | 339 |
} |
340 | 340 |
} |
341 | 341 |
|
342 |
public static void main(String[] argus) |
|
342 |
/*public static void main(String[] argus)
|
|
343 | 343 |
{ |
344 | 344 |
try |
345 | 345 |
{ |
... | ... | |
368 | 368 |
logMetacat.error("erorr in Schemalocation.main: " + |
369 | 369 |
e.getMessage()); |
370 | 370 |
} |
371 |
} |
|
371 |
}*/
|
|
372 | 372 |
|
373 | 373 |
/** |
374 | 374 |
* Gets the downloadNewSchema's value. |
Also available in: Unified diff
If a format id in the system metadata is registered in the xml_catalog table, we will use the schema location for the format id to validate the xml instance;
otherwise, we will use our previous way.