Project

General

Profile

Actions

Bug #1234

closed

remove eml2 dependency from DataPackageFactory->getDataPackage(Node) method

Added by Matthew Brooke over 20 years ago. Updated about 20 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
12/09/2003
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1234

Description

public static AbstractDataPackage getDataPackage(Node node) method should be
changed to inspect the passed DOM ("node" param) in order to find the value for
the "doctype" that should be used for the "dp.grammar" setting. For now, it is
hardcoded for eml2

Actions #1

Updated by Dan Higgins about 20 years ago

The getDataPackage(Node node) method in DataPackageFactory class has been
modified to actually check the DOM indicated by the node parameter to determine
the grammar setting (i.e. the docType). Currently only eml2.0.0 doctypes are
handled, but it is planned that the DataPackageFactory will be modified as new
doctypes are created.

Actions #2

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 1234

Actions

Also available in: Atom PDF