-
Notifications
You must be signed in to change notification settings - Fork 0
/
notes.txt
76 lines (51 loc) · 1.86 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
XML SANITY 1.0
-----------------
TO DO
-----------------
Validation:
-- Add Schematron support
Transformation:
-- Support Resource Resolution
Tests:
-- Have unit tests
Documentation:
-- improve javadocs
-- write usage guide
-----------------
DONE
-----------------
Validator
-- DONE make sure it never downloads DTDs from w3.org
-- DONE add Validator(InputStream)
-- DONE FileBasedValidatorPool -- validate() should actually validate
-- CANCELED add Validator(Resource)
-- NEED HELP add setSchemaResolver() and/or accept one in the constructor
Validation
-- Validation: Support RELAX validation
Transformation
-- DONE Create TransformationException
-- DONE make sure it never downloads DTDs from w3.org
-- DONE TransformerPool -- validate() should actually validate
Transformer
-- DONE change transform(Document) to transform(Parent)
-- DONE change transform() to only throw TransformationException, wrapping other exceptions when appropriate
-- DONE add Transformer(InputStream)
-- CANCELED add Transformer(Resource)
-- NEED HELP maybe add setResolver() and/or accept one in the constructor
TransformationResult
-- WONTFIX either have getError() return a TransformationException or maybe consider having it return a TransformationError
-- DONE Add convenience methods: String getErrorMessage(), String getErrorLocation(), String getErrorMessageAndLocation()
Testing
-- Cleanup
-- Remove proprietary/confidential test documents
-----------------------------------------------
MAYBE FOR LATER VERSIONS
Validation:
-- maybe support Resource Resolution
-- maybe support NIO Channels
-- maybe support Schematron rules embedded in XSDs and RNGs
Transformation:
-- maybe support NIO Channels
ValidationResult
-- maybe add methods to return XHTML JDOM elements and/or documents of errors
-- maybe add methods to return a custom XML representation of errors