| 1 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
| 2 |
|
|
| 3 |
|
* XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser| |
| 4 |
|
is introduced. |
| 5 |
|
(async, busy): Implemented. |
| 6 |
|
(parseString): Removed. |
| 7 |
|
(parse, parseURI): Implemented. |
| 8 |
|
(xp:ls-input-to-input-file): New configuration parameter. |
| 9 |
|
(shiftChar): Gets character from current file handle |
| 10 |
|
rather than replacement text. Don't normalize |
| 11 |
|
line break characters for internal entities. Don't |
| 12 |
|
throw |xp:wf-legal-literal-character| error |
| 13 |
|
for |RestrictedChar| appearing in internal entities. |
| 14 |
|
(DISPerl:dpgDef): Call |close| for each entity filehandler. |
| 15 |
|
(_EntityDeclaration): Copy document URI and base URI |
| 16 |
|
to the entity's |$decl| object. |
| 17 |
|
(ParseError): New code fragment. |
| 18 |
|
(getCopyOfEntityState): Creates filehandle from replacement |
| 19 |
|
text. |
| 20 |
|
(xp-error-lines): Don't appends text if no replacement |
| 21 |
|
text is available. |
| 22 |
|
(error-handler): New configuration parameter application resource. |
| 23 |
|
(ManakaiDOMLSInputToInputFile): New class. |
| 24 |
|
(ManakaiDOMInputFile): New class. |
| 25 |
|
|
| 26 |
|
* Tree.dis (getNodeReference): A dereferencing was missing. |
| 27 |
|
|
| 28 |
|
* DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties. |
| 29 |
|
|
| 30 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
| 31 |
|
|
| 32 |
|
* XMLParser.dis: Default attribute are now namespace aware. |
| 33 |
|
(parseString): Don't output |Document| warnings |
| 34 |
|
during tree construction to standard error output. |
| 35 |
|
|
| 36 |
|
2006-02-16 Wakaba <wakaba@suika.fam.cx> |
| 37 |
|
|
| 38 |
|
* XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and |
| 39 |
|
XML Namespace 1.1 is implemented. Namespace well-formedness |
| 40 |
|
error detection is implemented. Generates |Notation| nodes |
| 41 |
|
from notation declarations. |
| 42 |
|
(checkNCName, checkQName): New code fragments. |
| 43 |
|
|
| 44 |
|
* XDoctype.dis (DocumentXDoctype): Factory methods |
| 45 |
|
don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking| |
| 46 |
|
is |false|. |
| 47 |
|
|
| 48 |
|
* DOMCore.dis (wf-invalid-character-in-node-name, |
| 49 |
|
wf-invalid-character): Removed (moved to |MDOM:Tree| module). |
| 50 |
|
|
| 51 |
|
* Tree.dis '(wf-invalid-character-in-node-name, |
| 52 |
|
wf-invalid-character): New errors (from |MDOM:DOMCore| module). |
| 53 |
|
(Attr.specified): Setter added. |
| 54 |
|
(cfg:dtd-default-attributes): New configuration parameter. |
| 55 |
|
(Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME| |
| 56 |
|
if |Document.strictErrorChecking| is |false|. |
| 57 |
|
|
| 58 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
| 59 |
|
|
| 60 |
|
* XMLParser.dis: Set |allDeclarationsProcessed| |
| 61 |
|
attribute of the |Document| node. Don't process entity |
| 62 |
|
and attribute definition list declarations after |
| 63 |
|
unread parameter entity reference. Warns if an attribute definition is |
| 64 |
|
ignored (|xp:warning-attribute-definition-ignored|). Set |
| 65 |
|
flags whether predefined entities are declared or not. |
| 66 |
|
WFC error |xp:wf-pes-in-internal-subset| is implemented. |
| 67 |
|
|
| 68 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
| 69 |
|
|
| 70 |
|
* XMLParser.dis: Issues |xp:error-internal-predefined-entity| error |
| 71 |
|
if a predefined entity declaration references an external entity. |
| 72 |
|
Issues |xp:error-malformed-predefined-entity| error if |
| 73 |
|
a predefined entity declaration defines different thing than |
| 74 |
|
one as in XML specification. |
| 75 |
|
Issies |xp:warning-entity-declaration-ignored| warning if |
| 76 |
|
more than one entity declarations for an entity is found. |
| 77 |
|
(WFErrDef): Now all well-formedness errors are marked |
| 78 |
|
as |SEVERITY_FATAL_ERROR|. |
| 79 |
|
|
| 80 |
|
* XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates |
| 81 |
|
predefined entity declarations. |
| 82 |
|
(DocumentXDoctype.createNotation): New method. |
| 83 |
|
(DocumentTypeDefinition.notations): New attribute. |
| 84 |
|
(DocumentTypeDefinition.getNotationNode): New method. |
| 85 |
|
(DocumentTypeDefinition.setNotationNode): New method. |
| 86 |
|
(newNotationForTest): New code fragment. |
| 87 |
|
|
| 88 |
|
* Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed. |
| 89 |
|
(c:ManakaiDOMNotationMap): New class. |
| 90 |
|
(c:ManakaiDOMNotationMapArray): New class. |
| 91 |
|
(Document.allDeclarationsProcessed): New attribute. |
| 92 |
|
|
| 93 |
|
* DOMXML.dis (DocumentType.notations): Implemented. |
| 94 |
|
(Notation): Revised. |
| 95 |
|
(Notation.ownerDocumentTypeDefinition): New attribute. |
| 96 |
|
|
| 97 |
2006-02-14 Wakaba <wakaba@suika.fam.cx> |
2006-02-14 Wakaba <wakaba@suika.fam.cx> |
| 98 |
|
|
| 99 |
* XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion| |
* XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion| |