| 1 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
| 2 |
|
|
| 3 |
|
* XMLParser.dis (_AttlistDeclaration): Now it can generate |
| 4 |
|
attribute definition nodes. |
| 5 |
|
|
| 6 |
|
* XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR| |
| 7 |
|
and another |UNKNOWN_ATTR| constant is introduced |
| 8 |
|
for consistency with XML Infoset. |
| 9 |
|
|
| 10 |
|
* DOMCore.dis (TypeInfo): Documentation updated. |
| 11 |
|
|
| 12 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
| 13 |
|
|
| 14 |
|
* XDoctype.dis: A bug in test code fixed. |
| 15 |
|
|
| 16 |
|
* Tree.dis (NamedNodeMap): Element type or attribute |
| 17 |
|
definition named node maps now can be dereferenced |
| 18 |
|
as if they are array or hash references. |
| 19 |
|
(removeNamedItem, item, ___report_error): Implemented for element type |
| 20 |
|
or attribute definitions. |
| 21 |
|
(length): Tests added. |
| 22 |
|
(NamedNodeMapArray): New classes. |
| 23 |
|
|
| 24 |
|
2006-01-25 Wakaba <wakaba@suika.fam.cx> |
| 25 |
|
|
| 26 |
|
* XDoctype.dis (setElementTypeDefinitionNode, |
| 27 |
|
setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR| |
| 28 |
|
if the new node is already used for another definition. |
| 29 |
|
(DocumentTypeDefinition, ElementTypeDefinition): Node |
| 30 |
|
property name was incorrect. |
| 31 |
|
(elementTypes, attributeDefinitions): Checks to |
| 32 |
|
ensure the collection is empty added. |
| 33 |
|
|
| 34 |
|
* Tree.dis: Property name typos fixed. |
| 35 |
|
(setNamedItem, setAttributeNode): Don't return any node |
| 36 |
|
if it replace itself. |
| 37 |
|
(c:userDeterminedId): Missing definition added. |
| 38 |
|
|
| 39 |
|
* DOMXML.dis (Notation): Missing property specification |
| 40 |
|
of|c:ownerDocument| as |mn:xrefnode0| is added. |
| 41 |
|
|
| 42 |
|
2006-01-23 Wakaba <wakaba@suika.fam.cx> |
| 43 |
|
|
| 44 |
|
* DOMCore.dis (Test): Missing argument added. |
| 45 |
|
(setNamedItem): If |DocumentType| with no |ownerDocument|, |
| 46 |
|
addition always fails with |WRONG_DOCUMENT_ERR|. Some |
| 47 |
|
error conditions were incorrect. |
| 48 |
|
|
| 49 |
|
* .cvsignore: Dummy files added. |
| 50 |
|
|
| 51 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
| 52 |
|
|
| 53 |
|
* DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR, |
| 54 |
|
INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes. |
| 55 |
|
|
| 56 |
|
* DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION| |
| 57 |
|
to avoid uninitialized value warning. |
| 58 |
|
|
| 59 |
|
* Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New |
| 60 |
|
classes (work in progress). |
| 61 |
|
|
| 62 |
|
* XDoctype.dis (elementTypes, attributeDefinitions): New attributes. |
| 63 |
|
|
| 64 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
| 65 |
|
|
| 66 |
|
* Tree.dis (getAttribute): Returns |null| if there |
| 67 |
|
is no attribute in |ManakaiDOM:DOMLatest| for compatibility |
| 68 |
|
with Web browser implementations. |
| 69 |
|
(getAttributeNS): It returned |null| if there |
| 70 |
|
is no attribute in any |For| unintentionally. It now |
| 71 |
|
returns an empty string in DOM levels less than or equals |
| 72 |
|
to three. |
| 73 |
|
|
| 74 |
|
* XMLParser.dis (shiftChar): Fixed not to be warned as |
| 75 |
|
uninitialized value or substring out of range. |
| 76 |
|
|
| 77 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
| 78 |
|
|
| 79 |
|
* DOMXML.dis (DocumentType.childNodes): Removed |
| 80 |
|
from |ManakaiDOM:ManakaiDOMLatest| variant. |
| 81 |
|
|
| 82 |
|
* XMLParser.dis: Parsing of general internal entities implemented. |
| 83 |
|
(_DocumentTypeDeclaration): Appends a document type definition |
| 84 |
|
node to the document. |
| 85 |
|
(_ProcessingInstructionDTD): Appends a processing |
| 86 |
|
instruction node to the document type definition. |
| 87 |
|
(Element_): Document element could not be an |EmptyElemTag|. |
| 88 |
|
|
| 89 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
| 90 |
|
|
| 91 |
|
* DOMFeature.dis (featuresParamToFeaturesHash): New block |
| 92 |
|
code (seprated from |InputProcessor|). Now |
| 93 |
|
a |features| parameter's version can be specified by |
| 94 |
|
an array reference that contains a set of version |
| 95 |
|
numbers. A test added. |
| 96 |
|
|
| 97 |
|
* XMLParser.dis: A test added. |
| 98 |
|
|
| 99 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
| 100 |
|
|
| 101 |
|
* DOMCore.dis (Test): Don't invoke |DESTROY| method |
| 102 |
|
because it does not work with dummy object used in the test code. |
| 103 |
|
|
| 104 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
| 105 |
|
|
| 106 |
|
* DOMMain.dis (checkXMLNamesQName): Checks whether |
| 107 |
|
namespace URI is defined for not being warned. |
| 108 |
|
|
| 109 |
|
* XDoctype.dis: New module. |
| 110 |
|
|
| 111 |
|
* DOMCore.dis (DOMStringList): Test added. |
| 112 |
|
|
| 113 |
|
* Makefile: |XDoctype.pm| added. |
| 114 |
|
|
| 115 |
|
* Tree.dis (Require): Requires |XDoctype.dis|. |
| 116 |
|
(ManakaiDOMNodeObjectNode.eq): Added. |
| 117 |
|
(Test): |DOMError.location| must return a |DOMLocator| |
| 118 |
|
object (it was incorrectly tested to return |null|). |
| 119 |
|
(EmptyNodeList.DESTROY): Removed. |
| 120 |
|
|
| 121 |
|
2006-01-04 Wakaba <wakaba@suika.fam.cx> |
| 122 |
|
|
| 123 |
|
* Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and |
| 124 |
|
|ATTRIBUTE_DEFINITION_NODE| node types added. |
| 125 |
|
(appendChild, insertBefore, replaceChild): New |
| 126 |
|
two node types added and processing instruction nodes |
| 127 |
|
as document type definition node child is allowed |
| 128 |
|
in |ManakaiDOM:ManakaiDOMLatest| mode. |
| 129 |
|
(getNodeReference): New |interface| parameter |
| 130 |
|
to filter classes by interface is added. |
| 131 |
|
(ElementTypeDefinitionRole): New role. |
| 132 |
|
(AttributeDefinitionRole): New role. |
| 133 |
|
|
| 134 |
|
2006-01-02 Wakaba <wakaba@suika.fam.cx> |
| 135 |
|
|
| 136 |
|
* DOMCore.dis (DOMStringList): Reimplemented as tied array. |
| 137 |
|
|
| 138 |
|
2005-12-31 Wakaba <wakaba@suika.fam.cx> |
| 139 |
|
|
| 140 |
|
* DOMCore.dis (DOMError.location): Returns an empty |DOMLocator| |
| 141 |
|
if it is not provided. |
| 142 |
|
|
| 143 |
|
* XMLParser.dis: Parsing methods to skip document |
| 144 |
|
type declaration is added. |
| 145 |
|
|
| 146 |
|
2005-12-29 Wakaba <wakaba@suika.fam.cx> |
| 147 |
|
|
| 148 |
|
* XMLParser.dis (shiftChar): Checks characters are legal |
| 149 |
|
or not. Normalize end-of-lines. |
| 150 |
|
(rule _XMLDeclaration_): Implemented. |
| 151 |
|
(WFErrDef): Well-formedness error |wf-syntax-error|, |
| 152 |
|
|wf-pi-target-is-xml|, |wf-no-end-tag|, |
| 153 |
|
|wf-unsupported-xml-version|, |wf-malformed-enc-name|, |
| 154 |
|
|wf-malformed-xml-standalone|, |wf-legal-literal-character|, |
| 155 |
|
|wf-element-type-match|, |wf-unique-att-spec|, |
| 156 |
|
|wf-legal-character| added. |
| 157 |
|
(%character-code-point): New formatter rule. |
| 158 |
|
|
| 159 |
|
* Tree.dis (Document.xmlEncoding): It is now read-write attribute. |
| 160 |
|
|
| 161 |
|
* DOMCore.dis (DOMError.stringify): Added. |
| 162 |
|
(error-handler.default): Returns |false| (don't continue) |
| 163 |
|
when the error severity is |SEVERITY_FATAL_ERROR|. |
| 164 |
|
|
| 165 |
|
2005-12-28 Wakaba <wakaba@suika.fam.cx> |
| 166 |
|
|
| 167 |
|
* XMLParser.dis (DocumentEntity): Typos fixed. |
| 168 |
|
(|lexmode|s): New |?default-token| statements are used |
| 169 |
|
so that tokenizer description has been simplified |
| 170 |
|
and CDATA sections now can be parsed. |
| 171 |
|
|
| 172 |
|
2005-12-28 Wakaba <wakaba@suika.fam.cx> |
| 173 |
|
|
| 174 |
|
* XMLParser.dis: Some modifications made. |
| 175 |
|
|
| 176 |
|
2005-12-27 Wakaba <wakaba@suika.fam.cx> |
| 177 |
|
|
| 178 |
|
* DOMLS.dis (PARSE_ERR, SERIALIZE_ERR): They are now a |
| 179 |
|
global named resource. |
| 180 |
|
|
| 181 |
|
* Makefile: Rules to make |XMLParser.pm| is added. |
| 182 |
|
|
| 183 |
|
* XMLParser.dis: New file. |
| 184 |
|
|
| 185 |
|
2005-12-24 Wakaba <wakaba@suika.fam.cx> |
| 186 |
|
|
| 187 |
|
* DOMCore.dis (ManakaiDOMError._FORMATTER_PACKAGE_): Error |
| 188 |
|
message formatter can now vary by error types. |
| 189 |
|
(DOMLocator.utf32Offset): New (manakai extended) attribute. |
| 190 |
|
|
| 191 |
|
2005-12-23 Wakaba <wakaba@suika.fam.cx> |
| 192 |
|
|
| 193 |
|
* DOMCore.dis (DOMLocator): Implemented. |
| 194 |
|
|
| 195 |
|
2005-12-21 Wakaba <wakaba@suika.fam.cx> |
| 196 |
|
|
| 197 |
|
* DOMCore.dis (DOMConfigurationParameterApplication, |
| 198 |
|
domConfigurationParameter): New resources. |
| 199 |
|
|
| 200 |
2005-11-25 Wakaba <wakaba@suika.fam.cx> |
2005-11-25 Wakaba <wakaba@suika.fam.cx> |
| 201 |
|
|
| 202 |
* Tree.dis (NodeList.___report_error, NamedNodeMap.___report_error): |
* Tree.dis (NodeList.___report_error, NamedNodeMap.___report_error): |