| 1 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
| 2 |
|
|
| 3 |
|
* XMLParser.dis: |xp:wf-entity-declared| well-formedness |
| 4 |
|
constaraint for entity references that appear in |
| 5 |
|
content of elements is implemented. Set |EntityReference.isExpanded| |
| 6 |
|
attribute. |
| 7 |
|
(getEmptyEntityState): New code. |
| 8 |
|
|
| 9 |
|
* XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate |
| 10 |
|
definition is removed. |
| 11 |
|
|
| 12 |
|
* DOMXML.dis (Entity.isExternallyDeclared): New attribute. |
| 13 |
|
(EntityReference.isExpanded): Setter is added. |
| 14 |
|
|
| 15 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
| 16 |
|
|
| 17 |
|
* XMLParser.dis: |xp:wf-no-lt-in-attribute-values| |
| 18 |
|
and |xp:wf-no-external-entity-references| well-formedness |
| 19 |
|
constraints are implemented. |
| 20 |
|
|
| 21 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
| 22 |
|
|
| 23 |
|
* XMLParser.dis ($self->{has_error}): Removed. |
| 24 |
|
(parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal |
| 25 |
|
errors (including well-formedness constraint errors) are |
| 26 |
|
traped by the error handler. |
| 27 |
|
(PubidLiteral, SystemLiteral): Set |publicId| or |systemId| |
| 28 |
|
attribute of the node. Reports an error if |publidLiteral| |
| 29 |
|
contains a non-|pubidChar|. |
| 30 |
|
|
| 31 |
|
* XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration| |
| 32 |
|
version |3.0|). |
| 33 |
|
(ManakaiDOMDocumentTypeDefinition): The class no longer |
| 34 |
|
inherits |x:ManakaiDOMDocumentType| class. Instead, |
| 35 |
|
it inherits |d:ManakaiDOMDocumentTypeDeclaration| |
| 36 |
|
and |t:ManakaiDOMNOde| classes. It still implements |x:DocumentType| |
| 37 |
|
interface (except unimplemented |notations| and |internalSubset| |
| 38 |
|
attributes). |
| 39 |
|
(ManakaiDOMDocumentTypeDefinition.entities): New attribute |
| 40 |
|
for compatibility with |x:DocumentType| interface. |
| 41 |
|
(ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method. |
| 42 |
|
(ManakaiDOMDocumentTypeDefinition.getFeature): New method. |
| 43 |
|
(ManakaiDOMDocumentTypeDefinition.nodeType, |
| 44 |
|
ManakaiDOMDocumentTypeDefinition.textContent): New attributes. |
| 45 |
|
(DocumentTypeDeclaration): New interface. |
| 46 |
|
|
| 47 |
|
* Tree.dis (Node/@f:implements): Typos fixed. |
| 48 |
|
(Node.MUErrorHandler): Missing |last A| statement is added. |
| 49 |
|
(createDocumentType): Throws an exception if |qualifiedName| |
| 50 |
|
is illegal. Calls |DocumentTypeDefinition.newObject| |
| 51 |
|
instead of obsolete |DocumentType.newObject|. |
| 52 |
|
|
| 53 |
|
* DOMXML.dis (DocumentType.name, DocumentType.entities, |
| 54 |
|
DocumentType.publicId, DocumentType.systemId, |
| 55 |
|
DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined |
| 56 |
|
as clones of similar attributes or methods |
| 57 |
|
in |MDOM:XDoctype| module. |
| 58 |
|
(DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject| |
| 59 |
|
instead). |
| 60 |
|
(DocumentType.childNodes): Removed (|Node.childNodes| definition |
| 61 |
|
is used). |
| 62 |
|
|
| 63 |
|
2006-02-10 Wakaba <wakaba@suika.fam.cx> |
| 64 |
|
|
| 65 |
|
* XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New |
| 66 |
|
fatal error. |
| 67 |
|
|
| 68 |
|
2006-02-09 Wakaba <wakaba@suika.fam.cx> |
| 69 |
|
|
| 70 |
|
* XMLParser.dis (CommentDeclaration): |STRING| is now |
| 71 |
|
defined as a |?default-token|. |
| 72 |
|
(XMLTests): Tests for |Char - RestrictedChar| matchness, |
| 73 |
|
comment declarations, cdata sections, and |MSE| in |content| |
| 74 |
|
added. |
| 75 |
|
(XMLTests/PerlDef): Bug fixed: |pop| -> |shift|. |
| 76 |
|
(get-location-from-token): |$token->{location_d}| |
| 77 |
|
for |?default-token| column counting support added. |
| 78 |
|
|
| 79 |
|
* DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property. |
| 80 |
|
|
| 81 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
| 82 |
|
|
| 83 |
|
* Tree.dis (createProcessingInstruction): Don't |
| 84 |
|
throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking| |
| 85 |
|
is |false|. |
| 86 |
|
|
| 87 |
|
* XMLParser.dis (parseString): Initializes |$self->{location}|. |
| 88 |
|
It enables improved error position report. |
| 89 |
|
(XDO): It now includes |S+| following target name |xml| as |
| 90 |
|
part of the token. (PI with target starting with |xml| |
| 91 |
|
was unable to be placed at the beginning of the document entity.) |
| 92 |
|
(_ProcessingInstruction, _ProcessingInstructionDTD): Creates |
| 93 |
|
a processing instruction node with |#INVALID| node name |
| 94 |
|
if target name is not given and recovered from the error. |
| 95 |
|
(S): Variable |$s| added. |
| 96 |
|
(XMLTests): Tests for XML declarations and processing |
| 97 |
|
instructions are added. Prints error type name if unexpected |
| 98 |
|
error with severity of error or fatal error has been reported. |
| 99 |
|
Catch unexpected exceptions thrown in parser (different |
| 100 |
|
from |LSException|), prints its message, and invoke |$test->not_ok| |
| 101 |
|
for the ease of testing. |
| 102 |
|
(xp:get-location-from-token): Location values now take |$self->{char}| |
| 103 |
|
stack into acount. |
| 104 |
|
|
| 105 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
| 106 |
|
|
| 107 |
|
* XMLParser.dis (shiftChar): Line and column number counting |
| 108 |
|
is fixed. Although the DOM Level 3 Core specification |
| 109 |
|
is unclear about whether the first number is zero or one, |
| 110 |
|
in most programs the first line is "one" and |
| 111 |
|
the first column is "one", manakai follows the practice. |
| 112 |
|
(_XMLDeclaration): Don't set |xmlStandalone| value |
| 113 |
|
if |standalone| pseudo-attribute value is |no|. XML declaration |
| 114 |
|
tests (successful cases) added. |
| 115 |
|
(xp:get-location-from-token): Sets |lineNumber| and |columnNumber| |
| 116 |
|
properties. |
| 117 |
|
|
| 118 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
| 119 |
|
|
| 120 |
|
* XMLParser.dis (XMLTests): Tests for |c:erred| is supported. |
| 121 |
|
|
| 122 |
|
2006-02-06 Wakaba <wakaba@suika.fam.cx> |
| 123 |
|
|
| 124 |
|
* DOMCore.dis (c:erred): New property. |
| 125 |
|
(c:DOMErrorType): It should have been a subset |
| 126 |
|
of |ecore:AnyErrorCode|. |
| 127 |
|
|
| 128 |
|
* XMLParser.dis (XMLTests): Empty input tests added. |
| 129 |
|
|
| 130 |
|
2006-01-30 Wakaba <wakaba@suika.fam.cx> |
| 131 |
|
|
| 132 |
|
* XDoctype.dis (d:Feature): New canonical feature |
| 133 |
|
name |fe:XDoctype| is added. |
| 134 |
|
|
| 135 |
|
* XMLParser.dis: Predefined general entity references |
| 136 |
|
are implemented. Creates |Entity| nodes from general entities |
| 137 |
|
declared in internal subset. |Entity| nodes created from internal |
| 138 |
|
general parsed entities now have replacement tree. |
| 139 |
|
Sets |cfg:entity-reference-read-only| flag off during |
| 140 |
|
the tree generation. Some parsing rules use |$self->{doc}| |
| 141 |
|
rather than |$doc| parameter. Similarly, |$self->{docx}| (document |
| 142 |
|
node with |fe:XDoctype| feature) and |$self->{dtdef}| are |
| 143 |
|
introduced. General entity references in attribute value literal |
| 144 |
|
are supported. |
| 145 |
|
|
| 146 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
| 147 |
|
|
| 148 |
|
* Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration |
| 149 |
|
parameter name changed to |cfg:entity-reference-read-only|. |
| 150 |
|
(createEntityReference): Set |c:read-only| flag of |
| 151 |
|
the created entity reference, too. |
| 152 |
|
|
| 153 |
|
* DOMLS.dis (min): New canonical feature name |fe:Min| added. |
| 154 |
|
|
| 155 |
|
* GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString| |
| 156 |
|
from |DOMFeature| module instead. Use |idl:Object| |
| 157 |
|
instead of |DOMMain:DOMObject| as well. |
| 158 |
|
(Generic): New canonical feature name |fe:GenericLS| added. |
| 159 |
|
(DOMLS:ParserRole, DOMLS:SerializerRole): Their |
| 160 |
|
canonical name changed to |gls:ParserRole| and |gls:SerializerRole| |
| 161 |
|
respectively. |
| 162 |
|
|
| 163 |
|
* DOMXML.dis (entities, notations): Perl code removed. |
| 164 |
|
It will be reimplemented using |DocumentTypeDefinition| |
| 165 |
|
class from |XDoctype| module. |
| 166 |
|
|
| 167 |
|
* DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis, |
| 168 |
|
Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis, |
| 169 |
|
SimpleLS.dis: Cleaned up unused definitions. |
| 170 |
|
|
| 171 |
|
* DOMCore.dis, DOMLS.dis (CParam): Definitions |
| 172 |
|
for LS module moved from |DOMCore| module to |DOMLS| module. |
| 173 |
|
This change makes |DOMCore| to |DOMLS| dependency removed. |
| 174 |
|
|
| 175 |
|
* .cvsignore (.html.pm, .ls.pm): Removed. |
| 176 |
|
|
| 177 |
|
* Makefile (.html.pm, .ls.pm): Removed. |
| 178 |
|
(feature.dae): Include |GenericLS| module. |
| 179 |
|
(core.dae): Don't include |DOMLS| and |GenericLS| module. |
| 180 |
|
(ls.dae): Include |DOMLS| module. |
| 181 |
|
|
| 182 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
| 183 |
|
|
| 184 |
|
* XMLParser.dis: Tests on default attributes and their |specified| |
| 185 |
|
attribute are added. |
| 186 |
|
|
| 187 |
|
* XDoctype.dis (createGeneralEntity): New method. |
| 188 |
|
(generalEntities): New attribute. |
| 189 |
|
(getGeneralEntityNode, setGeneralEntityNode): New methods. |
| 190 |
|
|
| 191 |
|
* Tree.dis (ManakaiDOMEntities): Removed. |
| 192 |
|
(ManakaiDOMEntityMap): New class. |
| 193 |
|
(ManakaiDOM:entity-reference-read-only): New configuration parameter. |
| 194 |
|
(createEntityReference): If there is a corresponding |Entity| |
| 195 |
|
node in the document type definition, then copies its |
| 196 |
|
subtree. |
| 197 |
|
|
| 198 |
|
* DOMXML.dis (Entity): Documentation updated. |
| 199 |
|
(publicId, systemId, notationName, xmlEncoding, |
| 200 |
|
xmlVersion): These attributes are now settable |
| 201 |
|
if |ManakaiDOM:ManakaiDOMLatest| mode. |
| 202 |
|
(hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest| |
| 203 |
|
mode. |
| 204 |
|
(ownerDocumentTypeDefinition): New attribute |
| 205 |
|
for |ManakaiDOM:ManakaiDOMLatest| mode. |
| 206 |
|
(isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode. |
| 207 |
|
|
| 208 |
|
2006-01-28 Wakaba <wakaba@suika.fam.cx> |
| 209 |
|
|
| 210 |
|
* DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added. |
| 211 |
|
|
| 212 |
|
* DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added. |
| 213 |
|
|
| 214 |
|
* Tree.dis (ErrDef): Missing |ecore:textFormatter| property added. |
| 215 |
|
(ManakaiDOMAttributes): Removed. |
| 216 |
|
(ManakaiDOMAttrMap): New class. |
| 217 |
|
(ManakaiDOMAttrMapArray): New class. |
| 218 |
|
(namespaceURI): Bug to return a string representation |
| 219 |
|
of a reference to the namespace URI string is fixed. |
| 220 |
|
(selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented. |
| 221 |
|
(removeAttribute, removeAttributeNS): DTD default attributes |
| 222 |
|
are supported. Don't throw |NO_MODIFICATION_ALLOWED_ERR| |
| 223 |
|
if there is no attribute node. |
| 224 |
|
(createElement, createElementNS): DTD default attributes are supported. |
| 225 |
|
(setAttributeNode): Reimplemented. |
| 226 |
|
|
| 227 |
|
2006-01-27 Wakaba <wakaba@suika.fam.cx> |
| 228 |
|
|
| 229 |
|
* DOMCore.dis (ManakaiDOMDTDTypeInfo): New class. |
| 230 |
|
|
| 231 |
|
* Tree.dis (STORESIZE): Index bound bug fixed. |
| 232 |
|
(Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|. |
| 233 |
|
(schemaTypeInfo): Implemented for XML DTD. |
| 234 |
|
(isId): Returns |true| if [attribute type] is |ID|. |
| 235 |
|
(setAttribute, setAttributeNS): Sets [attribute type] |
| 236 |
|
of the newly created |Attr| node (if any) when attribute |
| 237 |
|
definition is available. |
| 238 |
|
(doctype, documentElement): Reimplemented with tests. |
| 239 |
|
|
| 240 |
|
* XMLParser.dis: Sets [attribute type] information |
| 241 |
|
to created |Attr| nodes. Normalize namespace URIs |
| 242 |
|
when such information are available (unlikely but legal). |
| 243 |
|
(_HexadecimalCharacterReference): Number to character |
| 244 |
|
convertion bug fixed. |
| 245 |
|
(_DocumentTypeDeclaration): Sets |schema-type| |
| 246 |
|
configuration parameter to XML DTD URI. |
| 247 |
|
|
| 248 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
| 249 |
|
|
| 250 |
|
* XMLParser.dis (_AttlistDeclaration): Now it can generate |
| 251 |
|
attribute definition nodes. |
| 252 |
|
|
| 253 |
|
* XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR| |
| 254 |
|
and another |UNKNOWN_ATTR| constant is introduced |
| 255 |
|
for consistency with XML Infoset. |
| 256 |
|
|
| 257 |
|
* DOMCore.dis (TypeInfo): Documentation updated. |
| 258 |
|
|
| 259 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
| 260 |
|
|
| 261 |
|
* XDoctype.dis: A bug in test code fixed. |
| 262 |
|
|
| 263 |
|
* Tree.dis (NamedNodeMap): Element type or attribute |
| 264 |
|
definition named node maps now can be dereferenced |
| 265 |
|
as if they are array or hash references. |
| 266 |
|
(removeNamedItem, item, ___report_error): Implemented for element type |
| 267 |
|
or attribute definitions. |
| 268 |
|
(length): Tests added. |
| 269 |
|
(NamedNodeMapArray): New classes. |
| 270 |
|
|
| 271 |
|
2006-01-25 Wakaba <wakaba@suika.fam.cx> |
| 272 |
|
|
| 273 |
|
* XDoctype.dis (setElementTypeDefinitionNode, |
| 274 |
|
setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR| |
| 275 |
|
if the new node is already used for another definition. |
| 276 |
|
(DocumentTypeDefinition, ElementTypeDefinition): Node |
| 277 |
|
property name was incorrect. |
| 278 |
|
(elementTypes, attributeDefinitions): Checks to |
| 279 |
|
ensure the collection is empty added. |
| 280 |
|
|
| 281 |
|
* Tree.dis: Property name typos fixed. |
| 282 |
|
(setNamedItem, setAttributeNode): Don't return any node |
| 283 |
|
if it replace itself. |
| 284 |
|
(c:userDeterminedId): Missing definition added. |
| 285 |
|
|
| 286 |
|
* DOMXML.dis (Notation): Missing property specification |
| 287 |
|
of|c:ownerDocument| as |mn:xrefnode0| is added. |
| 288 |
|
|
| 289 |
|
2006-01-23 Wakaba <wakaba@suika.fam.cx> |
| 290 |
|
|
| 291 |
|
* DOMCore.dis (Test): Missing argument added. |
| 292 |
|
(setNamedItem): If |DocumentType| with no |ownerDocument|, |
| 293 |
|
addition always fails with |WRONG_DOCUMENT_ERR|. Some |
| 294 |
|
error conditions were incorrect. |
| 295 |
|
|
| 296 |
|
* .cvsignore: Dummy files added. |
| 297 |
|
|
| 298 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
| 299 |
|
|
| 300 |
|
* DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR, |
| 301 |
|
INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes. |
| 302 |
|
|
| 303 |
|
* DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION| |
| 304 |
|
to avoid uninitialized value warning. |
| 305 |
|
|
| 306 |
|
* Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New |
| 307 |
|
classes (work in progress). |
| 308 |
|
|
| 309 |
|
* XDoctype.dis (elementTypes, attributeDefinitions): New attributes. |
| 310 |
|
|
| 311 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
| 312 |
|
|
| 313 |
|
* Tree.dis (getAttribute): Returns |null| if there |
| 314 |
|
is no attribute in |ManakaiDOM:DOMLatest| for compatibility |
| 315 |
|
with Web browser implementations. |
| 316 |
|
(getAttributeNS): It returned |null| if there |
| 317 |
|
is no attribute in any |For| unintentionally. It now |
| 318 |
|
returns an empty string in DOM levels less than or equals |
| 319 |
|
to three. |
| 320 |
|
|
| 321 |
|
* XMLParser.dis (shiftChar): Fixed not to be warned as |
| 322 |
|
uninitialized value or substring out of range. |
| 323 |
|
|
| 324 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
| 325 |
|
|
| 326 |
|
* DOMXML.dis (DocumentType.childNodes): Removed |
| 327 |
|
from |ManakaiDOM:ManakaiDOMLatest| variant. |
| 328 |
|
|
| 329 |
|
* XMLParser.dis: Parsing of general internal entities implemented. |
| 330 |
|
(_DocumentTypeDeclaration): Appends a document type definition |
| 331 |
|
node to the document. |
| 332 |
|
(_ProcessingInstructionDTD): Appends a processing |
| 333 |
|
instruction node to the document type definition. |
| 334 |
|
(Element_): Document element could not be an |EmptyElemTag|. |
| 335 |
|
|
| 336 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
| 337 |
|
|
| 338 |
|
* DOMFeature.dis (featuresParamToFeaturesHash): New block |
| 339 |
|
code (seprated from |InputProcessor|). Now |
| 340 |
|
a |features| parameter's version can be specified by |
| 341 |
|
an array reference that contains a set of version |
| 342 |
|
numbers. A test added. |
| 343 |
|
|
| 344 |
|
* XMLParser.dis: A test added. |
| 345 |
|
|
| 346 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
| 347 |
|
|
| 348 |
|
* DOMCore.dis (Test): Don't invoke |DESTROY| method |
| 349 |
|
because it does not work with dummy object used in the test code. |
| 350 |
|
|
| 351 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
| 352 |
|
|
| 353 |
|
* DOMMain.dis (checkXMLNamesQName): Checks whether |
| 354 |
|
namespace URI is defined for not being warned. |
| 355 |
|
|
| 356 |
|
* XDoctype.dis: New module. |
| 357 |
|
|
| 358 |
|
* DOMCore.dis (DOMStringList): Test added. |
| 359 |
|
|
| 360 |
|
* Makefile: |XDoctype.pm| added. |
| 361 |
|
|
| 362 |
|
* Tree.dis (Require): Requires |XDoctype.dis|. |
| 363 |
|
(ManakaiDOMNodeObjectNode.eq): Added. |
| 364 |
|
(Test): |DOMError.location| must return a |DOMLocator| |
| 365 |
|
object (it was incorrectly tested to return |null|). |
| 366 |
|
(EmptyNodeList.DESTROY): Removed. |
| 367 |
|
|
| 368 |
|
2006-01-04 Wakaba <wakaba@suika.fam.cx> |
| 369 |
|
|
| 370 |
|
* Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and |
| 371 |
|
|ATTRIBUTE_DEFINITION_NODE| node types added. |
| 372 |
|
(appendChild, insertBefore, replaceChild): New |
| 373 |
|
two node types added and processing instruction nodes |
| 374 |
|
as document type definition node child is allowed |
| 375 |
|
in |ManakaiDOM:ManakaiDOMLatest| mode. |
| 376 |
|
(getNodeReference): New |interface| parameter |
| 377 |
|
to filter classes by interface is added. |
| 378 |
|
(ElementTypeDefinitionRole): New role. |
| 379 |
|
(AttributeDefinitionRole): New role. |
| 380 |
|
|
| 381 |
|
2006-01-02 Wakaba <wakaba@suika.fam.cx> |
| 382 |
|
|
| 383 |
|
* DOMCore.dis (DOMStringList): Reimplemented as tied array. |
| 384 |
|
|
| 385 |
|
2005-12-31 Wakaba <wakaba@suika.fam.cx> |
| 386 |
|
|
| 387 |
|
* DOMCore.dis (DOMError.location): Returns an empty |DOMLocator| |
| 388 |
|
if it is not provided. |
| 389 |
|
|
| 390 |
|
* XMLParser.dis: Parsing methods to skip document |
| 391 |
|
type declaration is added. |
| 392 |
|
|
| 393 |
|
2005-12-29 Wakaba <wakaba@suika.fam.cx> |
| 394 |
|
|
| 395 |
|
* XMLParser.dis (shiftChar): Checks characters are legal |
| 396 |
|
or not. Normalize end-of-lines. |
| 397 |
|
(rule _XMLDeclaration_): Implemented. |
| 398 |
|
(WFErrDef): Well-formedness error |wf-syntax-error|, |
| 399 |
|
|wf-pi-target-is-xml|, |wf-no-end-tag|, |
| 400 |
|
|wf-unsupported-xml-version|, |wf-malformed-enc-name|, |
| 401 |
|
|wf-malformed-xml-standalone|, |wf-legal-literal-character|, |
| 402 |
|
|wf-element-type-match|, |wf-unique-att-spec|, |
| 403 |
|
|wf-legal-character| added. |
| 404 |
|
(%character-code-point): New formatter rule. |
| 405 |
|
|
| 406 |
|
* Tree.dis (Document.xmlEncoding): It is now read-write attribute. |
| 407 |
|
|
| 408 |
|
* DOMCore.dis (DOMError.stringify): Added. |
| 409 |
|
(error-handler.default): Returns |false| (don't continue) |
| 410 |
|
when the error severity is |SEVERITY_FATAL_ERROR|. |
| 411 |
|
|
| 412 |
|
2005-12-28 Wakaba <wakaba@suika.fam.cx> |
| 413 |
|
|
| 414 |
|
* XMLParser.dis (DocumentEntity): Typos fixed. |
| 415 |
|
(|lexmode|s): New |?default-token| statements are used |
| 416 |
|
so that tokenizer description has been simplified |
| 417 |
|
and CDATA sections now can be parsed. |
| 418 |
|
|
| 419 |
|
2005-12-28 Wakaba <wakaba@suika.fam.cx> |
| 420 |
|
|
| 421 |
|
* XMLParser.dis: Some modifications made. |
| 422 |
|
|
| 423 |
|
2005-12-27 Wakaba <wakaba@suika.fam.cx> |
| 424 |
|
|
| 425 |
|
* DOMLS.dis (PARSE_ERR, SERIALIZE_ERR): They are now a |
| 426 |
|
global named resource. |
| 427 |
|
|
| 428 |
|
* Makefile: Rules to make |XMLParser.pm| is added. |
| 429 |
|
|
| 430 |
|
* XMLParser.dis: New file. |
| 431 |
|
|
| 432 |
|
2005-12-24 Wakaba <wakaba@suika.fam.cx> |
| 433 |
|
|
| 434 |
|
* DOMCore.dis (ManakaiDOMError._FORMATTER_PACKAGE_): Error |
| 435 |
|
message formatter can now vary by error types. |
| 436 |
|
(DOMLocator.utf32Offset): New (manakai extended) attribute. |
| 437 |
|
|
| 438 |
|
2005-12-23 Wakaba <wakaba@suika.fam.cx> |
| 439 |
|
|
| 440 |
|
* DOMCore.dis (DOMLocator): Implemented. |
| 441 |
|
|
| 442 |
|
2005-12-21 Wakaba <wakaba@suika.fam.cx> |
| 443 |
|
|
| 444 |
|
* DOMCore.dis (DOMConfigurationParameterApplication, |
| 445 |
|
domConfigurationParameter): New resources. |
| 446 |
|
|
| 447 |
|
2005-11-25 Wakaba <wakaba@suika.fam.cx> |
| 448 |
|
|
| 449 |
|
* Tree.dis (NodeList.___report_error, NamedNodeMap.___report_error): |
| 450 |
|
New methods. |
| 451 |
|
|
| 452 |
|
2005-11-24 Wakaba <wakaba@suika.fam.cx> |
| 453 |
|
|
| 454 |
|
* DOMMain.dis, DOMLS.dis, DOMXML.dis, Tree.dis: Old |__WARNING__| |
| 455 |
|
blocks are replaced by |DOMError|-based |__DOMCore:ERROR__| blocks. |
| 456 |
|
|
| 457 |
|
* DOMMain.dis (___report_error): Throws the error unkess |
| 458 |
|
it is a |DOMCore:DOMError| object. |
| 459 |
|
|
| 460 |
|
2005-11-24 Wakaba <wakaba@suika.fam.cx> |
| 461 |
|
|
| 462 |
|
* DOMCore.dis (severity, type): Getters return value from |
| 463 |
|
the definition of the current error (i.e. |-def| hash). |
| 464 |
|
(___error_def): New method. |
| 465 |
|
(errorType): |dis:dataType| changed to |DISCore:TFQNames| |
| 466 |
|
to ease natural reference to constant value. |
| 467 |
|
(error-handler.default): Prints the error message by |warn|. |
| 468 |
|
|
| 469 |
|
* Tree.dis (nodeValue.set): Reimplemented so that it |
| 470 |
|
warns as setting has no effect. |
| 471 |
|
(___report_error): New method. (It had been only implemented |
| 472 |
|
in superclass.) |
| 473 |
|
(setting-node-value-no-effect): New error type. |
| 474 |
|
|
| 475 |
|
2005-11-23 Wakaba <wakaba@suika.fam.cx> |
| 476 |
|
|
| 477 |
|
* DOMCore.dis: Error codes added. |
| 478 |
|
|
| 479 |
|
* Tree.dis (destroyNodeStem): New method implementation. |
| 480 |
|
|
| 481 |
|
2005-11-22 Wakaba <wakaba@suika.fam.cx> |
| 482 |
|
|
| 483 |
|
* Tree.dis (cloneNode): User data handlers implemented. |
| 484 |
|
(adoptNode): User data handlers implemented. |
| 485 |
|
|
| 486 |
|
2005-11-21 Wakaba <wakaba@suika.fam.cx> |
| 487 |
|
|
| 488 |
|
* DOMCore.dis (UserDataHandler): A constraint for Perl binding |
| 489 |
|
added. |
| 490 |
|
|
| 491 |
|
* Tree.dis (cloneNode): Invoking of |UserDataHandler|s are implemented. |
| 492 |
|
(getUserData, setUserData): Implemented. |
| 493 |
|
|
| 494 |
|
2005-11-20 Wakaba <wakaba@suika.fam.cx> |
| 495 |
|
|
| 496 |
|
* DOMCore.dis (UserDataHandler): Implemented. |
| 497 |
|
(DOMErrorHandler): Blessed package name bug fixed. |
| 498 |
|
|
| 499 |
|
* ManakaiDOMLS2003.dis: Reference to |Node| subclasses |
| 500 |
|
changed to |Tree.dis|. |
| 501 |
|
|
| 502 |
|
2005-11-20 Wakaba <wakaba@suika.fam.cx> |
| 503 |
|
|
| 504 |
|
* DOMMain.dis: Unused declarations and definitions removed. |
| 505 |
|
|
| 506 |
|
* DOMCore.dis: DOM document tree related interfaces removed. |
| 507 |
|
|
| 508 |
|
* Tree.dis: New module separated from |DOMCore.dis|. |
| 509 |
|
|
| 510 |
|
* DOMXML.dis: Some referent changed to |Tree.dis|. |
| 511 |
|
|
| 512 |
|
* Makefile: |Tree.dis| added. |
| 513 |
|
|
| 514 |
|
2005-11-16 Wakaba <wakaba@suika.fam.cx> |
| 515 |
|
|
| 516 |
|
* .cvsignore: Revised. |
| 517 |
|
|
| 518 |
|
2005-11-16 Wakaba <wakaba@suika.fam.cx> |
| 519 |
|
|
| 520 |
|
* ManakaiDOMLS2003.dis: Tests added. |
| 521 |
|
(domConfig): Method name in the code fixed to |flag|. |
| 522 |
|
|
| 523 |
|
* DOMMain.dis (findOffset32): Missing |^| in regular expressions |
| 524 |
|
added. |
| 525 |
|
|
| 526 |
|
* DOMCore.dis (hasChildNodes): Returns |false| if the node type |
| 527 |
|
is defined not to have any children. |
| 528 |
|
(CharacterData): Typos in element type names and function names fixed. |
| 529 |
|
|
| 530 |
|
2005-11-15 Wakaba <wakaba@suika.fam.cx> |
| 531 |
|
|
| 532 |
|
* DOMFeature.dis (MinimumImplementation.eq): Added. |
| 533 |
|
|
| 534 |
|
* DOMMain.dis: |DISPerl:ISA| reference fixed. |
| 535 |
|
|
| 536 |
|
* Generic.dis: Implements new |DOMLS:Generic| feature. |
| 537 |
|
|
| 538 |
|
2005-11-15 Wakaba <wakaba@suika.fam.cx> |
| 539 |
|
|
| 540 |
|
* DOMFeature.dis (stringifyFeatures): Don't double |SPACE| |
| 541 |
|
characters between feature names and versions. |
| 542 |
|
|
| 543 |
|
2005-11-13 Wakaba <wakaba@suika.fam.cx> |
| 544 |
|
|
| 545 |
|
* DOMFeature.dis (stringifyFeatures): A test code added. |
| 546 |
|
|
| 547 |
|
2005-10-26 Wakaba <wakaba@suika.fam.cx> |
| 548 |
|
|
| 549 |
|
* SimpleLS.dis (writeToString): Don't stop serializing |
| 550 |
|
when an |false| value appears in |@src|. |
| 551 |
|
|
| 552 |
|
2005-10-16 Wakaba <wakaba@suika.fam.cx> |
| 553 |
|
|
| 554 |
|
* DOMCore.dis (DOMError, DOMErrorHandler): Reimplemented. |
| 555 |
|
(ErrDef): Redefined. |
| 556 |
|
|
| 557 |
|
* DOMLS.dis (ErrDef): Redefined. |
| 558 |
|
|
| 559 |
|
2005-10-16 Wakaba <wakaba@suika.fam.cx> |
| 560 |
|
|
| 561 |
|
* DOMCore.dis (DOMConfiguration): Extends "ManakaiDOM:ManakaiDOMObject". |
| 562 |
|
|
| 563 |
|
2005-10-15 Wakaba <wakaba@suika.fam.cx> |
| 564 |
|
|
| 565 |
|
* DOMCore.dis (Require): References "DOMLS.dis" module. |
| 566 |
|
(CParam): Definitions for LS module added. |
| 567 |
|
|
| 568 |
|
* DOMLS.dis (ManakaiDOMLSInput): The input processor |
| 569 |
|
is also an output processor now. |
| 570 |
|
(ManakaiDOMLSResourceResolver): Implemented. |
| 571 |
|
(CParam): Definitions updated. |
| 572 |
|
|
| 573 |
|
2005-10-14 Wakaba <wakaba@suika.fam.cx> |
| 574 |
|
|
| 575 |
|
* DOMCore.dis (NOT_RECOGNIZED_CONFIG_PARAM_ERR, |
| 576 |
|
NOT_SUPPORTED_CONFIG_VALUE_ERR, |
| 577 |
|
INCOMPATIBLE_CONFIG_VALUE_ERR): New error subcodes. |
| 578 |
|
(DOMConfiguration): Implemented. |
| 579 |
|
(CParam): Definitions updated. |
| 580 |
|
|
| 581 |
|
* DOMMain.dis (DOMURIs): New data type. |
| 582 |
|
|
| 583 |
|
2005-10-13 Wakaba <wakaba@suika.fam.cx> |
| 584 |
|
|
| 585 |
|
* DOMCore.dis (setAttrValueNS): New code. |
| 586 |
|
|
| 587 |
|
2005-10-12 Wakaba <wakaba@suika.fam.cx> |
| 588 |
|
|
| 589 |
|
* DOMCore.dis: Don't set "infoset:prefix" internal |
| 590 |
|
property unless it has non-null value. |
| 591 |
|
(newObject): "refNode" parameter introduced. |
| 592 |
|
(ManakaiDOMNode.newObject): Calls "NodeStem.newNode" |
| 593 |
|
method if "refNode" parameter is specified. |
| 594 |
|
(cloneNode): Don't set "read-only" flag. |
| 595 |
|
(getNodeReference): Caches the result. |
| 596 |
|
(selectAttributeNodeForRemove): Don't removes any other |
| 597 |
|
non-namespace-aware attribute nodes. |
| 598 |
|
|
| 599 |
|
2005-10-11 Wakaba <wakaba@suika.fam.cx> |
| 600 |
|
|
| 601 |
|
* DOMCore.dis (appendChild, createElementNS, createAttributeNS, |
| 602 |
|
setAttribute, setAttributeNS): "strictErrorChecking" attribute supported. |
| 603 |
|
(doStrictErrorChecking): New code. |
| 604 |
|
|
| 605 |
|
* DOMMain.dis (XML10Name, XML11Name): "strictErrorChecking" attribute |
| 606 |
|
supported. |
| 607 |
|
|
| 608 |
|
* Makefile: Rule to make "DOMFeature.pm" restored. |
| 609 |
|
|
| 610 |
|
2005-10-10 Wakaba <wakaba@suika.fam.cx> |
| 611 |
|
|
| 612 |
|
* DOMCore.dis (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode. |
| 613 |
|
(adoptNode): Implemented. |
| 614 |
|
|
| 615 |
|
2005-10-09 Wakaba <wakaba@suika.fam.cx> |
| 616 |
|
|
| 617 |
|
* DOMHTML.dis, DOMWebForms.dis: Typos in element type prefix fixed. |
| 618 |
|
|
| 619 |
|
* DOMFeature.dis (DOMCore:implementation): Short name added. |
| 620 |
|
|
| 621 |
|
* DOMCore.dis (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode. |
| 622 |
|
(DOMCore:node): New error parameter. |
| 623 |
|
(DOMCore:ownerDocument): Changed from "mn:irefnode0" |
| 624 |
|
to "mn:xrefnode0". For this reason, all assignments |
| 625 |
|
to this property have been rewritten to references |
| 626 |
|
to code "mn:setXRefNode". |
| 627 |
|
(cloneNode): Implemented. |
| 628 |
|
(setAttributeNode): A missing "importTree" method call added. |
| 629 |
|
(setAttributeNodeNS): Perl code removed and changed |
| 630 |
|
to a reference to "setAttributeNode" method code. |
| 631 |
|
|
| 632 |
|
* DOMXML.dis (DOMCore:ownerDocument): Changed from "mn:irefnode0" |
| 633 |
|
property to "mn:xrefnode0" property. |
| 634 |
|
|
| 635 |
|
2005-10-08 Wakaba <wakaba@suika.fam.cx> |
| 636 |
|
|
| 637 |
|
* DOMCore.dis, DOMLS.dis: Now constant values are defined only |
| 638 |
|
in interfaces. |
| 639 |
|
|
| 640 |
2005-10-06 Wakaba <wakaba@suika.fam.cx> |
2005-10-06 Wakaba <wakaba@suika.fam.cx> |
| 641 |
|
|
| 642 |
* DOMCore.dis (ManakaiDOMEmptyNodeList): New class. |
* DOMCore.dis (ManakaiDOMEmptyNodeList): New class. |