Revision 7128
Added by ben leinfelder about 12 years ago
EMLVersionsTransformer.java | ||
---|---|---|
151 | 151 |
String rule = DocumentImpl.EML210; |
152 | 152 |
// using emlparser to check id validation |
153 | 153 |
EMLParser parser = new EMLParser(eml210Content); |
154 |
DocumentImplWrapper documentWrapper = new DocumentImplWrapper(rule, true); |
|
154 |
DocumentImplWrapper documentWrapper = new DocumentImplWrapper(rule, true, true);
|
|
155 | 155 |
// StringReader xml = new StringReader(eml210Content); |
156 | 156 |
String doAction = "UPDATE"; |
157 | 157 |
String pub = null; |
Also available in: Unified diff
add a parameter for optionally writing EML-embedded access control rules to the Metacat DB.
https://redmine.dataone.org/issues/2584
https://redmine.dataone.org/issues/2583