| 1 |
|
2006-03-26 Wakaba <wakaba@suika.fam.cx> |
| 2 |
|
|
| 3 |
|
* DOMCore.dis (Require): Reference to the |MDOM:TreeCore| |
| 4 |
|
module is added. |
| 5 |
|
(DOMStringList): Reimplemented for new |d:AttributeDefinition| |
| 6 |
|
implementation (untested). |
| 7 |
|
|
| 8 |
|
* TreeCore.dis (baseURI): Reimplemented (untested). |
| 9 |
|
(Roles): Definitions added. |
| 10 |
|
|
| 11 |
|
* XDoctype.dis (Require): References to the |MDOM:TreeCore| |
| 12 |
|
and |MDOM:XML| modules are added. Reference to the |MDOM:Tree| |
| 13 |
|
module is removed. |
| 14 |
|
(DocumentXDoctype): Reimplemented (untested). |
| 15 |
|
(DocumentTypeDefinition, DocumentTypeDeclaration): |
| 16 |
|
Reimlemented (untested). |
| 17 |
|
(ElementTypeDefinition, AttributeDefinition): Reimplemented (untested). |
| 18 |
|
|
| 19 |
|
* XML.dis (FeatureDef): New features (definitions copied |
| 20 |
|
from the |MDOM:DOMXML| module). |
| 21 |
|
(DocumentType): New interface (definition copied from |
| 22 |
|
the |MDOM:DOMXML| module). |
| 23 |
|
(CDATASection, Notation, Entity, EntityReference, ProcessingInstruction): |
| 24 |
|
Reimplemented (untested). |
| 25 |
|
(ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Reimplemented (untested). |
| 26 |
|
|
| 27 |
|
2006-03-25 Wakaba <wakaba@suika.fam.cx> |
| 28 |
|
|
| 29 |
|
* TreeCore.dis (Document): Most methods are reimplemented (untested). |
| 30 |
|
|
| 31 |
|
2006-03-25 Wakaba <wakaba@suika.fam.cx> |
| 32 |
|
|
| 33 |
|
* TreeCore.dis (Document): Attributes are reimplemented (untested). |
| 34 |
|
(Text, DocumentFragment, Comment): Most members are |
| 35 |
|
reimplemented (untested). |
| 36 |
|
|
| 37 |
|
2006-03-24 Wakaba <wakaba@suika.fam.cx> |
| 38 |
|
|
| 39 |
|
* DOMMain.dis (checkXMLNamesQName): Some checks are |
| 40 |
|
removed to sync with DOM Level 3 Core specification. |
| 41 |
|
|
| 42 |
|
* TreeCore.dis (Element): Most methods are reimplemented (untested). |
| 43 |
|
(GetElementsNodeList): Reimplemented (untested). |
| 44 |
|
|
| 45 |
|
2006-03-23 Wakaba <wakaba@suika.fam.cx> |
| 46 |
|
|
| 47 |
|
* Tree.dis (cfg:strict-document-children): The configuration |
| 48 |
|
parameter must also affect on |manakaiAppendText| |
| 49 |
|
and |textContent| on |Document| nodes. |
| 50 |
|
|
| 51 |
|
* TreeCore.dis (Node.CreateNodeRefMethod): The |tc:nodeRefClass| |
| 52 |
|
parameter changes the class to |bless|. |
| 53 |
|
(Node): Most methods are reimplemented. (Untested) |
| 54 |
|
(CharacterData, Attr): Most methods and attributes are |
| 55 |
|
reimplemented. (Untested) |
| 56 |
|
|
| 57 |
|
* XML.dis, XDoctype.dis: Most |Node| methods are |
| 58 |
|
reimplemented (untested). |
| 59 |
|
|
| 60 |
|
2006-03-23 Wakaba <wakaba@suika.fam.cx> |
| 61 |
|
|
| 62 |
|
* TreeCore.dis, XML.dis, XDoctype.dis (Node.textContent): Reimplemented |
| 63 |
|
(untested). |
| 64 |
|
|
| 65 |
|
2006-03-22 Wakaba <wakaba@suika.fam.cx> |
| 66 |
|
|
| 67 |
|
* DOMCore.dis (DOMSTRING_SIZE_ERR): It now has |
| 68 |
|
a qualified name. |
| 69 |
|
|
| 70 |
|
* DOMMain.dis (ensureNamespacePrefix): Undefines |
| 71 |
|
the prefix if it is an empty string. (Note that |
| 72 |
|
it is defined as implementation dependent in |
| 73 |
|
DOM Level 3 Core specification). |
| 74 |
|
|
| 75 |
|
* TreeCore.dis (Require): It now references the |MDOM:XDoctype| |
| 76 |
|
module. |
| 77 |
|
(Node): Attributes are reimplemented (untested). |
| 78 |
|
|
| 79 |
|
* XML.dis (Require): It now references the |MDOMX:XDoctype| |
| 80 |
|
module. |
| 81 |
|
(Node): Attributes are reimplemented (untested). |
| 82 |
|
(Entity, Notation): New interfaces. |
| 83 |
|
|
| 84 |
|
* XDoctype.dis (Node): Attributes are reimplemented (untested). |
| 85 |
|
|
| 86 |
|
2006-03-19 Wakaba <wakaba@suika.fam.cx> |
| 87 |
|
|
| 88 |
|
* TreeCore.dis (childNodes, firstChild, lastChild, |
| 89 |
|
nextSibling, previousSibling, appendChild, insertBefore, |
| 90 |
|
replaceChild, removeChild, createDocumentFragment, |
| 91 |
|
createEntityReference, createProcessingInstruction, |
| 92 |
|
domConfig, documentElement, implementation, manakaiAppendText): New. |
| 93 |
|
(NodeList, DocumentFragment): New interfaces. |
| 94 |
|
|
| 95 |
|
* XML.dis (EntityReference, ProcessingInstruction): New interface. |
| 96 |
|
|
| 97 |
|
2006-03-18 Wakaba <wakaba@suika.fam.cx> |
| 98 |
|
|
| 99 |
|
* TreeCore.dis (Require): The |MDOM:XML| module is added. |
| 100 |
|
(createAttributeNS, createTextNode, createComment, |
| 101 |
|
createCDATASection): New methods. |
| 102 |
|
(Attr, Text, Comment, CharacterData): New interfaces. |
| 103 |
|
|
| 104 |
|
* Makefile: |XML.dis| is added. |
| 105 |
|
|
| 106 |
|
* XML.dis: New module. |
| 107 |
|
|
| 108 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
| 109 |
|
|
| 110 |
|
* TreeCore.dis (manakaiReadOnly): New attribute. |
| 111 |
|
|
| 112 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
| 113 |
|
|
| 114 |
|
* TreeCore.dis (NodeType, nodeType, localName, namespaceURI, |
| 115 |
|
prefix, isSameNode, ownerDocument, parentNode): New. |
| 116 |
|
(Element): New interface. |
| 117 |
|
(createElementNS): New method. |
| 118 |
|
(strictErrorChecking): New. |
| 119 |
|
|
| 120 |
|
2006-03-17 Wakaba <wakaba@suika.fam.cx> |
| 121 |
|
|
| 122 |
|
* Makefile: |TreeCore.dis| is added. |
| 123 |
|
|
| 124 |
|
* TreeCore.dis: New module. |
| 125 |
|
|
| 126 |
|
2006-03-16 Wakaba <wakaba@suika.fam.cx> |
| 127 |
|
|
| 128 |
|
* XMLParser.dis (cfg:entity-replacement-tree): New configuration |
| 129 |
|
parameter. |
| 130 |
|
|
| 131 |
|
* DOMXML.dis (manakaiExpanded): Renamed from |isExpanded|. |
| 132 |
|
|
| 133 |
|
* DOMCore.dis, Tree.dis, DOMLS.dis, XMLParser.dis: Lexical |
| 134 |
|
data types added to configuration parameters. |
| 135 |
|
|
| 136 |
|
2006-03-15 Wakaba <wakaba@suika.fam.cx> |
| 137 |
|
|
| 138 |
|
* DOMCore.dis (c:DOMConfigurationParameter): Now it is |
| 139 |
|
a |DISSource:ResourceProperty|. |
| 140 |
|
(c:anyDOMConfigurationParameter): New property. |
| 141 |
|
(CParam, boolCParam): Now they are all |dis:subsetOf| |
| 142 |
|
the |c:anyDOMConfigurationParameter| property. |
| 143 |
|
(ForDocument, ForParser, ForSerializer): Removed. |
| 144 |
|
|
| 145 |
|
* DOMLS.dis, XMLParser.dis: Likewise. |
| 146 |
|
|
| 147 |
|
2006-03-12 Wakaba <wakaba@suika.fam.cx> |
| 148 |
|
|
| 149 |
|
* DOMMain.dis, Tree.dis: Unused |dis:aliasChild| properties |
| 150 |
|
are removed. |
| 151 |
|
|
| 152 |
|
* GenericLS.pm: Added to the CVS repository since |
| 153 |
|
it is necessary to create the |Message::Util::DIS::DPG| module. |
| 154 |
|
|
| 155 |
|
2006-03-10 Wakaba <wakaba@suika.fam.cx> |
| 156 |
|
|
| 157 |
|
* DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New |
| 158 |
|
method. |
| 159 |
|
|
| 160 |
|
* XMLParser.dis: Don't create adjacent text nodes. |
| 161 |
|
|
| 162 |
|
2006-03-09 Wakaba <wakaba@suika.fam.cx> |
| 163 |
|
|
| 164 |
|
* DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error. |
| 165 |
|
|
| 166 |
|
* DOMXML.dis (appendChild, insertBefore, replaceChild): Method |
| 167 |
|
implementations are added. |
| 168 |
|
|
| 169 |
|
* XDoctype.dis (appendChild, insertBefore, replaceChild): Method |
| 170 |
|
implementations are added. |
| 171 |
|
|
| 172 |
|
* Tree.dis (appendChild, insertBefore, replaceChild): Method |
| 173 |
|
implementations are added. |
| 174 |
|
(IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass| |
| 175 |
|
resources unless for |ManakaiDOM:ManakaiDOMLatest|. |
| 176 |
|
(cfg:strict-document-children): New configuration parameter. |
| 177 |
|
|
| 178 |
|
2006-03-08 Wakaba <wakaba@suika.fam.cx> |
| 179 |
|
|
| 180 |
|
* XDoctype.dis (replaceChild): Method implementations are added. |
| 181 |
|
|
| 182 |
|
* Tree.dis (replaceChild): Method implementations are added. |
| 183 |
|
|
| 184 |
|
* DOMXML.dis (replaceChild): Method implementations are added. |
| 185 |
|
|
| 186 |
|
2006-03-07 Wakaba <wakaba@suika.fam.cx> |
| 187 |
|
|
| 188 |
|
* Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for| |
| 189 |
|
definitions. |
| 190 |
|
|
| 191 |
|
* XDoctype.dis (insertBefore): New method implementation. |
| 192 |
|
|
| 193 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
| 194 |
|
|
| 195 |
|
* DOMXML.dis (insertBefore): Method implementations |
| 196 |
|
for |ProcessingInstruction| and |Notation| nodes are added. |
| 197 |
|
|
| 198 |
|
* Tree.dis (insertBefore): Method implementation |
| 199 |
|
for |CharacterData| nodes is added. |
| 200 |
|
|
| 201 |
|
* XDoctype.dis (insertBefore): Method implementation |
| 202 |
|
for |ElementTypeDefinition| nodes is added. |
| 203 |
|
|
| 204 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
| 205 |
|
|
| 206 |
|
* XDoctype.dis (appendChild): New method implementation. |
| 207 |
|
|
| 208 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
| 209 |
|
|
| 210 |
|
* DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error. |
| 211 |
|
(REMOVE_DOCUMENT_ELEMENT_ERR): New error. |
| 212 |
|
(REMOVE_DOCUMENT_TYPE_ERR): New error. |
| 213 |
|
|
| 214 |
|
* DOMXML.dis (ManakaiDOMDocumentType): Removed. |
| 215 |
|
(ProcessingInstruction.appendChild, CDATASection.appendChild, |
| 216 |
|
Notation.appendChild): New method implementation. |
| 217 |
|
|
| 218 |
|
* Tree.dis (CharacterData.appendChild): New method implementation. |
| 219 |
|
|
| 220 |
|
* XDoctype.dis: Tests moved from |MDOM:DOMXML| module. |
| 221 |
|
|
| 222 |
|
2006-03-06 Wakaba <wakaba@suika.fam.cx> |
| 223 |
|
|
| 224 |
|
* DOMXML.dis (ManakaiDOMXMLIdAttr): New class. |
| 225 |
|
|
| 226 |
|
* Tree.dis (createAttribute, createAttributeNS, |
| 227 |
|
setAttribute, setAttributeNS): They now supports |
| 228 |
|
the |cfg:xml-id| configuration parameter. |
| 229 |
|
(cfg:xml-id): New configuration parameter. |
| 230 |
|
|
| 231 |
|
* XDoctype.dis (createAttributeDefinition): It now |
| 232 |
|
supports the |cfg:xml-id| configuration parameter. |
| 233 |
|
|
| 234 |
|
* XMLParser.dis (parse): It now supports |
| 235 |
|
the |cfg:xml-id| configuration parameter. |
| 236 |
|
|
| 237 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
| 238 |
|
|
| 239 |
|
* XMLParser.dis (parse): Sets |Document.documentURI| |
| 240 |
|
and |Document.manakaiEntityBaseURI| attributes of the |
| 241 |
|
document created. |
| 242 |
|
(_ProcessingInstructionDTD): Sets the |manakaiBaseURI| |
| 243 |
|
property of the created node. |
| 244 |
|
(_SystemLiteral): Sets the |manakaiDeclarationBaseURI| |
| 245 |
|
of the created node. |
| 246 |
|
(ls-input-to-input-file.default): Sets the resolved |
| 247 |
|
system identifier to the |documentURI| attribute if available. |
| 248 |
|
Sets the |baseURI| attribute if available. |
| 249 |
|
|
| 250 |
|
2006-03-05 Wakaba <wakaba@suika.fam.cx> |
| 251 |
|
|
| 252 |
|
* XDoctype.dis (DocumentTypeDefinition.implementation): New attribute. |
| 253 |
|
(Node.baseURI): New attribute implementations. |
| 254 |
|
(declarationBaseURI): Setter is added. |
| 255 |
|
(manakaiDeclarationBaseURI): New attribute. |
| 256 |
|
|
| 257 |
|
* Tree.dis (Require): A reference to the |MURI:Generic| |
| 258 |
|
module is added. |
| 259 |
|
(Node.baseURI): The implementation is revised. |
| 260 |
|
(getNodeReference): Attribute node classes specialized |
| 261 |
|
to attribute names are supported. |
| 262 |
|
(contentBaseURI, htmlBaseURI): Removed. |
| 263 |
|
(manakaiEntityBaseURI): New attribute. |
| 264 |
|
(ManakaiDOMImplementationDocument): It now inherits |
| 265 |
|
the |urigen:URIImplementation| class. |
| 266 |
|
|
| 267 |
|
* DOMMain.dis (isRelativeDOMURI): The definition |
| 268 |
|
of the URI scheme is synced with |Message::URI::Generic|'s |
| 269 |
|
one. |
| 270 |
|
|
| 271 |
|
* DOMXML.dis (Require): A reference to |DISlib:DISMarkup| |
| 272 |
|
module is added. |
| 273 |
|
(DocumentType.implementation): New attribute. |
| 274 |
|
(Node.baseURI): Implementations are added. |
| 275 |
|
(manakaiDeclarationBaseURI): New attributes. |
| 276 |
|
(manakaiEntityBaseURI): New attributes. |
| 277 |
|
(manakaiEntityURI): New attribute. |
| 278 |
|
(manakaiExternal): New attribute. |
| 279 |
|
(manakaiBaseURI): New attribute. |
| 280 |
|
(ManakaiDOMXMLBaseAttr): New class. |
| 281 |
|
|
| 282 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
| 283 |
|
|
| 284 |
|
* SimpleLS.dis (Require): Reference to the |MDOM:Tree| |
| 285 |
|
module was missing. |
| 286 |
|
|
| 287 |
|
* ManakaiDOMLS2003.dis: Some property names was incorrect. |
| 288 |
|
|
| 289 |
|
* Makefile (distclean): New rule. |
| 290 |
|
|
| 291 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
| 292 |
|
|
| 293 |
|
* DOMLS.dis: Removed from the CVS repository, since |
| 294 |
|
it has been no longer required to make the |daf| system |
| 295 |
|
itself. |
| 296 |
|
|
| 297 |
|
2006-02-26 Wakaba <wakaba@suika.fam.cx> |
| 298 |
|
|
| 299 |
|
* Makefile: Revised for new |daf| database format. |
| 300 |
|
|
| 301 |
|
2006-02-25 Wakaba <wakaba@suika.fam.cx> |
| 302 |
|
|
| 303 |
|
* DOMFeature.dis (Require): Missing reference to |DISlib:Test| |
| 304 |
|
module is added. |
| 305 |
|
|
| 306 |
|
2006-02-22 Wakaba <wakaba@suika.fam.cx> |
| 307 |
|
|
| 308 |
|
* DOMLS.dis: Constants were typed as |dx:ErrorCode| |
| 309 |
|
by mistake. |
| 310 |
|
|
| 311 |
|
2006-02-18 Wakaba <wakaba@suika.fam.cx> |
| 312 |
|
|
| 313 |
|
* XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10| |
| 314 |
|
feature. |
| 315 |
|
|
| 316 |
|
* DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type. |
| 317 |
|
|
| 318 |
|
* DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|). |
| 319 |
|
(DOMImplementationLS.createLSParser): Implemented. |
| 320 |
|
(DOMImplementationLS.createLSInput): Revised. |
| 321 |
|
(LSInput): Note on relationship with |GenericLS| is added. |
| 322 |
|
|
| 323 |
|
* SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|). |
| 324 |
|
|
| 325 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
| 326 |
|
|
| 327 |
|
* XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser| |
| 328 |
|
is introduced. |
| 329 |
|
(async, busy): Implemented. |
| 330 |
|
(parseString): Removed. |
| 331 |
|
(parse, parseURI): Implemented. |
| 332 |
|
(xp:ls-input-to-input-file): New configuration parameter. |
| 333 |
|
(shiftChar): Gets character from current file handle |
| 334 |
|
rather than replacement text. Don't normalize |
| 335 |
|
line break characters for internal entities. Don't |
| 336 |
|
throw |xp:wf-legal-literal-character| error |
| 337 |
|
for |RestrictedChar| appearing in internal entities. |
| 338 |
|
(DISPerl:dpgDef): Call |close| for each entity filehandler. |
| 339 |
|
(_EntityDeclaration): Copy document URI and base URI |
| 340 |
|
to the entity's |$decl| object. |
| 341 |
|
(ParseError): New code fragment. |
| 342 |
|
(getCopyOfEntityState): Creates filehandle from replacement |
| 343 |
|
text. |
| 344 |
|
(xp-error-lines): Don't appends text if no replacement |
| 345 |
|
text is available. |
| 346 |
|
(error-handler): New configuration parameter application resource. |
| 347 |
|
(ManakaiDOMLSInputToInputFile): New class. |
| 348 |
|
(ManakaiDOMInputFile): New class. |
| 349 |
|
|
| 350 |
|
* Tree.dis (getNodeReference): A dereferencing was missing. |
| 351 |
|
|
| 352 |
|
* DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties. |
| 353 |
|
|
| 354 |
|
2006-02-17 Wakaba <wakaba@suika.fam.cx> |
| 355 |
|
|
| 356 |
|
* XMLParser.dis: Default attribute are now namespace aware. |
| 357 |
|
(parseString): Don't output |Document| warnings |
| 358 |
|
during tree construction to standard error output. |
| 359 |
|
|
| 360 |
|
2006-02-16 Wakaba <wakaba@suika.fam.cx> |
| 361 |
|
|
| 362 |
|
* XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and |
| 363 |
|
XML Namespace 1.1 is implemented. Namespace well-formedness |
| 364 |
|
error detection is implemented. Generates |Notation| nodes |
| 365 |
|
from notation declarations. |
| 366 |
|
(checkNCName, checkQName): New code fragments. |
| 367 |
|
|
| 368 |
|
* XDoctype.dis (DocumentXDoctype): Factory methods |
| 369 |
|
don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking| |
| 370 |
|
is |false|. |
| 371 |
|
|
| 372 |
|
* DOMCore.dis (wf-invalid-character-in-node-name, |
| 373 |
|
wf-invalid-character): Removed (moved to |MDOM:Tree| module). |
| 374 |
|
|
| 375 |
|
* Tree.dis '(wf-invalid-character-in-node-name, |
| 376 |
|
wf-invalid-character): New errors (from |MDOM:DOMCore| module). |
| 377 |
|
(Attr.specified): Setter added. |
| 378 |
|
(cfg:dtd-default-attributes): New configuration parameter. |
| 379 |
|
(Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME| |
| 380 |
|
if |Document.strictErrorChecking| is |false|. |
| 381 |
|
|
| 382 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
| 383 |
|
|
| 384 |
|
* XMLParser.dis: Set |allDeclarationsProcessed| |
| 385 |
|
attribute of the |Document| node. Don't process entity |
| 386 |
|
and attribute definition list declarations after |
| 387 |
|
unread parameter entity reference. Warns if an attribute definition is |
| 388 |
|
ignored (|xp:warning-attribute-definition-ignored|). Set |
| 389 |
|
flags whether predefined entities are declared or not. |
| 390 |
|
WFC error |xp:wf-pes-in-internal-subset| is implemented. |
| 391 |
|
|
| 392 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
| 393 |
|
|
| 394 |
|
* XMLParser.dis: Issues |xp:error-internal-predefined-entity| error |
| 395 |
|
if a predefined entity declaration references an external entity. |
| 396 |
|
Issues |xp:error-malformed-predefined-entity| error if |
| 397 |
|
a predefined entity declaration defines different thing than |
| 398 |
|
one as in XML specification. |
| 399 |
|
Issies |xp:warning-entity-declaration-ignored| warning if |
| 400 |
|
more than one entity declarations for an entity is found. |
| 401 |
|
(WFErrDef): Now all well-formedness errors are marked |
| 402 |
|
as |SEVERITY_FATAL_ERROR|. |
| 403 |
|
|
| 404 |
|
* XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates |
| 405 |
|
predefined entity declarations. |
| 406 |
|
(DocumentXDoctype.createNotation): New method. |
| 407 |
|
(DocumentTypeDefinition.notations): New attribute. |
| 408 |
|
(DocumentTypeDefinition.getNotationNode): New method. |
| 409 |
|
(DocumentTypeDefinition.setNotationNode): New method. |
| 410 |
|
(newNotationForTest): New code fragment. |
| 411 |
|
|
| 412 |
|
* Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed. |
| 413 |
|
(c:ManakaiDOMNotationMap): New class. |
| 414 |
|
(c:ManakaiDOMNotationMapArray): New class. |
| 415 |
|
(Document.allDeclarationsProcessed): New attribute. |
| 416 |
|
|
| 417 |
|
* DOMXML.dis (DocumentType.notations): Implemented. |
| 418 |
|
(Notation): Revised. |
| 419 |
|
(Notation.ownerDocumentTypeDefinition): New attribute. |
| 420 |
|
|
| 421 |
|
2006-02-14 Wakaba <wakaba@suika.fam.cx> |
| 422 |
|
|
| 423 |
|
* XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion| |
| 424 |
|
WFC errors are implemented. Reports a |xp:wf-syntax-error| |
| 425 |
|
if a parameter entity declaration contains |NDATA| keyword. |
| 426 |
|
(setEmptyEntityState): Set |name| attribute. |
| 427 |
|
|
| 428 |
|
* Tree.dis (createEntityReference): Don't enter into inifinite |
| 429 |
|
loop even if entity replacement tree contains recursive |
| 430 |
|
reference directly or indirectly. |
| 431 |
|
|
| 432 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
| 433 |
|
|
| 434 |
|
* XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared| |
| 435 |
|
WFC error is implemented. |
| 436 |
|
|
| 437 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
| 438 |
|
|
| 439 |
|
* XMLParser.dis: Set |cfg:clone-entity-reference-subtree| |
| 440 |
|
configuration parameter |true| during tree construction |
| 441 |
|
to ensure default attribute value is cloned as is |
| 442 |
|
including entity reference subtree. |
| 443 |
|
|
| 444 |
|
* Tree.dis (cfg:clone-entity-reference-subtree): New configuration |
| 445 |
|
parameter. |
| 446 |
|
(Node.cloneNode): The |cfg:clone-entity-reference-subtree| |
| 447 |
|
configuration parameter support is added. |
| 448 |
|
|
| 449 |
|
2006-02-12 Wakaba <wakaba@suika.fam.cx> |
| 450 |
|
|
| 451 |
|
* XMLParser.dis (parseString): General |Entity| replacement |
| 452 |
|
tree is not constructed because of a typo. Clears |EntityReference| |
| 453 |
|
content before constructing |Entity| replacement tree. |
| 454 |
|
The |xp:wf-entity-declared| well-formedness constraint |
| 455 |
|
for entity references in attribute value literal is implemented. |
| 456 |
|
|
| 457 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
| 458 |
|
|
| 459 |
|
* XMLParser.dis: |xp:wf-entity-declared| well-formedness |
| 460 |
|
constaraint for entity references that appear in |
| 461 |
|
content of elements is implemented. Set |EntityReference.isExpanded| |
| 462 |
|
attribute. |
| 463 |
|
(getEmptyEntityState): New code. |
| 464 |
|
|
| 465 |
|
* XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate |
| 466 |
|
definition is removed. |
| 467 |
|
|
| 468 |
|
* DOMXML.dis (Entity.isExternallyDeclared): New attribute. |
| 469 |
|
(EntityReference.isExpanded): Setter is added. |
| 470 |
|
|
| 471 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
| 472 |
|
|
| 473 |
|
* XMLParser.dis: |xp:wf-no-lt-in-attribute-values| |
| 474 |
|
and |xp:wf-no-external-entity-references| well-formedness |
| 475 |
|
constraints are implemented. |
| 476 |
|
|
| 477 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
| 478 |
|
|
| 479 |
|
* XMLParser.dis ($self->{has_error}): Removed. |
| 480 |
|
(parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal |
| 481 |
|
errors (including well-formedness constraint errors) are |
| 482 |
|
traped by the error handler. |
| 483 |
|
(PubidLiteral, SystemLiteral): Set |publicId| or |systemId| |
| 484 |
|
attribute of the node. Reports an error if |publidLiteral| |
| 485 |
|
contains a non-|pubidChar|. |
| 486 |
|
|
| 487 |
|
* XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration| |
| 488 |
|
version |3.0|). |
| 489 |
|
(ManakaiDOMDocumentTypeDefinition): The class no longer |
| 490 |
|
inherits |x:ManakaiDOMDocumentType| class. Instead, |
| 491 |
|
it inherits |d:ManakaiDOMDocumentTypeDeclaration| |
| 492 |
|
and |t:ManakaiDOMNOde| classes. It still implements |x:DocumentType| |
| 493 |
|
interface (except unimplemented |notations| and |internalSubset| |
| 494 |
|
attributes). |
| 495 |
|
(ManakaiDOMDocumentTypeDefinition.entities): New attribute |
| 496 |
|
for compatibility with |x:DocumentType| interface. |
| 497 |
|
(ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method. |
| 498 |
|
(ManakaiDOMDocumentTypeDefinition.getFeature): New method. |
| 499 |
|
(ManakaiDOMDocumentTypeDefinition.nodeType, |
| 500 |
|
ManakaiDOMDocumentTypeDefinition.textContent): New attributes. |
| 501 |
|
(DocumentTypeDeclaration): New interface. |
| 502 |
|
|
| 503 |
|
* Tree.dis (Node/@f:implements): Typos fixed. |
| 504 |
|
(Node.MUErrorHandler): Missing |last A| statement is added. |
| 505 |
|
(createDocumentType): Throws an exception if |qualifiedName| |
| 506 |
|
is illegal. Calls |DocumentTypeDefinition.newObject| |
| 507 |
|
instead of obsolete |DocumentType.newObject|. |
| 508 |
|
|
| 509 |
|
* DOMXML.dis (DocumentType.name, DocumentType.entities, |
| 510 |
|
DocumentType.publicId, DocumentType.systemId, |
| 511 |
|
DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined |
| 512 |
|
as clones of similar attributes or methods |
| 513 |
|
in |MDOM:XDoctype| module. |
| 514 |
|
(DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject| |
| 515 |
|
instead). |
| 516 |
|
(DocumentType.childNodes): Removed (|Node.childNodes| definition |
| 517 |
|
is used). |
| 518 |
|
|
| 519 |
|
2006-02-10 Wakaba <wakaba@suika.fam.cx> |
| 520 |
|
|
| 521 |
|
* XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New |
| 522 |
|
fatal error. |
| 523 |
|
|
| 524 |
|
2006-02-09 Wakaba <wakaba@suika.fam.cx> |
| 525 |
|
|
| 526 |
|
* XMLParser.dis (CommentDeclaration): |STRING| is now |
| 527 |
|
defined as a |?default-token|. |
| 528 |
|
(XMLTests): Tests for |Char - RestrictedChar| matchness, |
| 529 |
|
comment declarations, cdata sections, and |MSE| in |content| |
| 530 |
|
added. |
| 531 |
|
(XMLTests/PerlDef): Bug fixed: |pop| -> |shift|. |
| 532 |
|
(get-location-from-token): |$token->{location_d}| |
| 533 |
|
for |?default-token| column counting support added. |
| 534 |
|
|
| 535 |
|
* DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property. |
| 536 |
|
|
| 537 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
| 538 |
|
|
| 539 |
|
* Tree.dis (createProcessingInstruction): Don't |
| 540 |
|
throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking| |
| 541 |
|
is |false|. |
| 542 |
|
|
| 543 |
|
* XMLParser.dis (parseString): Initializes |$self->{location}|. |
| 544 |
|
It enables improved error position report. |
| 545 |
|
(XDO): It now includes |S+| following target name |xml| as |
| 546 |
|
part of the token. (PI with target starting with |xml| |
| 547 |
|
was unable to be placed at the beginning of the document entity.) |
| 548 |
|
(_ProcessingInstruction, _ProcessingInstructionDTD): Creates |
| 549 |
|
a processing instruction node with |#INVALID| node name |
| 550 |
|
if target name is not given and recovered from the error. |
| 551 |
|
(S): Variable |$s| added. |
| 552 |
|
(XMLTests): Tests for XML declarations and processing |
| 553 |
|
instructions are added. Prints error type name if unexpected |
| 554 |
|
error with severity of error or fatal error has been reported. |
| 555 |
|
Catch unexpected exceptions thrown in parser (different |
| 556 |
|
from |LSException|), prints its message, and invoke |$test->not_ok| |
| 557 |
|
for the ease of testing. |
| 558 |
|
(xp:get-location-from-token): Location values now take |$self->{char}| |
| 559 |
|
stack into acount. |
| 560 |
|
|
| 561 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
| 562 |
|
|
| 563 |
|
* XMLParser.dis (shiftChar): Line and column number counting |
| 564 |
|
is fixed. Although the DOM Level 3 Core specification |
| 565 |
|
is unclear about whether the first number is zero or one, |
| 566 |
|
in most programs the first line is "one" and |
| 567 |
|
the first column is "one", manakai follows the practice. |
| 568 |
|
(_XMLDeclaration): Don't set |xmlStandalone| value |
| 569 |
|
if |standalone| pseudo-attribute value is |no|. XML declaration |
| 570 |
|
tests (successful cases) added. |
| 571 |
|
(xp:get-location-from-token): Sets |lineNumber| and |columnNumber| |
| 572 |
|
properties. |
| 573 |
|
|
| 574 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
| 575 |
|
|
| 576 |
|
* XMLParser.dis (XMLTests): Tests for |c:erred| is supported. |
| 577 |
|
|
| 578 |
|
2006-02-06 Wakaba <wakaba@suika.fam.cx> |
| 579 |
|
|
| 580 |
|
* DOMCore.dis (c:erred): New property. |
| 581 |
|
(c:DOMErrorType): It should have been a subset |
| 582 |
|
of |ecore:AnyErrorCode|. |
| 583 |
|
|
| 584 |
|
* XMLParser.dis (XMLTests): Empty input tests added. |
| 585 |
|
|
| 586 |
|
2006-01-30 Wakaba <wakaba@suika.fam.cx> |
| 587 |
|
|
| 588 |
|
* XDoctype.dis (d:Feature): New canonical feature |
| 589 |
|
name |fe:XDoctype| is added. |
| 590 |
|
|
| 591 |
|
* XMLParser.dis: Predefined general entity references |
| 592 |
|
are implemented. Creates |Entity| nodes from general entities |
| 593 |
|
declared in internal subset. |Entity| nodes created from internal |
| 594 |
|
general parsed entities now have replacement tree. |
| 595 |
|
Sets |cfg:entity-reference-read-only| flag off during |
| 596 |
|
the tree generation. Some parsing rules use |$self->{doc}| |
| 597 |
|
rather than |$doc| parameter. Similarly, |$self->{docx}| (document |
| 598 |
|
node with |fe:XDoctype| feature) and |$self->{dtdef}| are |
| 599 |
|
introduced. General entity references in attribute value literal |
| 600 |
|
are supported. |
| 601 |
|
|
| 602 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
| 603 |
|
|
| 604 |
|
* Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration |
| 605 |
|
parameter name changed to |cfg:entity-reference-read-only|. |
| 606 |
|
(createEntityReference): Set |c:read-only| flag of |
| 607 |
|
the created entity reference, too. |
| 608 |
|
|
| 609 |
|
* DOMLS.dis (min): New canonical feature name |fe:Min| added. |
| 610 |
|
|
| 611 |
|
* GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString| |
| 612 |
|
from |DOMFeature| module instead. Use |idl:Object| |
| 613 |
|
instead of |DOMMain:DOMObject| as well. |
| 614 |
|
(Generic): New canonical feature name |fe:GenericLS| added. |
| 615 |
|
(DOMLS:ParserRole, DOMLS:SerializerRole): Their |
| 616 |
|
canonical name changed to |gls:ParserRole| and |gls:SerializerRole| |
| 617 |
|
respectively. |
| 618 |
|
|
| 619 |
|
* DOMXML.dis (entities, notations): Perl code removed. |
| 620 |
|
It will be reimplemented using |DocumentTypeDefinition| |
| 621 |
|
class from |XDoctype| module. |
| 622 |
|
|
| 623 |
|
* DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis, |
| 624 |
|
Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis, |
| 625 |
|
SimpleLS.dis: Cleaned up unused definitions. |
| 626 |
|
|
| 627 |
|
* DOMCore.dis, DOMLS.dis (CParam): Definitions |
| 628 |
|
for LS module moved from |DOMCore| module to |DOMLS| module. |
| 629 |
|
This change makes |DOMCore| to |DOMLS| dependency removed. |
| 630 |
|
|
| 631 |
|
* .cvsignore (.html.pm, .ls.pm): Removed. |
| 632 |
|
|
| 633 |
|
* Makefile (.html.pm, .ls.pm): Removed. |
| 634 |
|
(feature.dae): Include |GenericLS| module. |
| 635 |
|
(core.dae): Don't include |DOMLS| and |GenericLS| module. |
| 636 |
|
(ls.dae): Include |DOMLS| module. |
| 637 |
|
|
| 638 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
| 639 |
|
|
| 640 |
|
* XMLParser.dis: Tests on default attributes and their |specified| |
| 641 |
|
attribute are added. |
| 642 |
|
|
| 643 |
|
* XDoctype.dis (createGeneralEntity): New method. |
| 644 |
|
(generalEntities): New attribute. |
| 645 |
|
(getGeneralEntityNode, setGeneralEntityNode): New methods. |
| 646 |
|
|
| 647 |
|
* Tree.dis (ManakaiDOMEntities): Removed. |
| 648 |
|
(ManakaiDOMEntityMap): New class. |
| 649 |
|
(ManakaiDOM:entity-reference-read-only): New configuration parameter. |
| 650 |
|
(createEntityReference): If there is a corresponding |Entity| |
| 651 |
|
node in the document type definition, then copies its |
| 652 |
|
subtree. |
| 653 |
|
|
| 654 |
|
* DOMXML.dis (Entity): Documentation updated. |
| 655 |
|
(publicId, systemId, notationName, xmlEncoding, |
| 656 |
|
xmlVersion): These attributes are now settable |
| 657 |
|
if |ManakaiDOM:ManakaiDOMLatest| mode. |
| 658 |
|
(hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest| |
| 659 |
|
mode. |
| 660 |
|
(ownerDocumentTypeDefinition): New attribute |
| 661 |
|
for |ManakaiDOM:ManakaiDOMLatest| mode. |
| 662 |
|
(isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode. |
| 663 |
|
|
| 664 |
|
2006-01-28 Wakaba <wakaba@suika.fam.cx> |
| 665 |
|
|
| 666 |
|
* DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added. |
| 667 |
|
|
| 668 |
|
* DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added. |
| 669 |
|
|
| 670 |
|
* Tree.dis (ErrDef): Missing |ecore:textFormatter| property added. |
| 671 |
|
(ManakaiDOMAttributes): Removed. |
| 672 |
|
(ManakaiDOMAttrMap): New class. |
| 673 |
|
(ManakaiDOMAttrMapArray): New class. |
| 674 |
|
(namespaceURI): Bug to return a string representation |
| 675 |
|
of a reference to the namespace URI string is fixed. |
| 676 |
|
(selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented. |
| 677 |
|
(removeAttribute, removeAttributeNS): DTD default attributes |
| 678 |
|
are supported. Don't throw |NO_MODIFICATION_ALLOWED_ERR| |
| 679 |
|
if there is no attribute node. |
| 680 |
|
(createElement, createElementNS): DTD default attributes are supported. |
| 681 |
|
(setAttributeNode): Reimplemented. |
| 682 |
|
|
| 683 |
|
2006-01-27 Wakaba <wakaba@suika.fam.cx> |
| 684 |
|
|
| 685 |
|
* DOMCore.dis (ManakaiDOMDTDTypeInfo): New class. |
| 686 |
|
|
| 687 |
|
* Tree.dis (STORESIZE): Index bound bug fixed. |
| 688 |
|
(Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|. |
| 689 |
|
(schemaTypeInfo): Implemented for XML DTD. |
| 690 |
|
(isId): Returns |true| if [attribute type] is |ID|. |
| 691 |
|
(setAttribute, setAttributeNS): Sets [attribute type] |
| 692 |
|
of the newly created |Attr| node (if any) when attribute |
| 693 |
|
definition is available. |
| 694 |
|
(doctype, documentElement): Reimplemented with tests. |
| 695 |
|
|
| 696 |
|
* XMLParser.dis: Sets [attribute type] information |
| 697 |
|
to created |Attr| nodes. Normalize namespace URIs |
| 698 |
|
when such information are available (unlikely but legal). |
| 699 |
|
(_HexadecimalCharacterReference): Number to character |
| 700 |
|
convertion bug fixed. |
| 701 |
|
(_DocumentTypeDeclaration): Sets |schema-type| |
| 702 |
|
configuration parameter to XML DTD URI. |
| 703 |
|
|
| 704 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
| 705 |
|
|
| 706 |
|
* XMLParser.dis (_AttlistDeclaration): Now it can generate |
| 707 |
|
attribute definition nodes. |
| 708 |
|
|
| 709 |
|
* XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR| |
| 710 |
|
and another |UNKNOWN_ATTR| constant is introduced |
| 711 |
|
for consistency with XML Infoset. |
| 712 |
|
|
| 713 |
|
* DOMCore.dis (TypeInfo): Documentation updated. |
| 714 |
|
|
| 715 |
|
2006-01-26 Wakaba <wakaba@suika.fam.cx> |
| 716 |
|
|
| 717 |
|
* XDoctype.dis: A bug in test code fixed. |
| 718 |
|
|
| 719 |
|
* Tree.dis (NamedNodeMap): Element type or attribute |
| 720 |
|
definition named node maps now can be dereferenced |
| 721 |
|
as if they are array or hash references. |
| 722 |
|
(removeNamedItem, item, ___report_error): Implemented for element type |
| 723 |
|
or attribute definitions. |
| 724 |
|
(length): Tests added. |
| 725 |
|
(NamedNodeMapArray): New classes. |
| 726 |
|
|
| 727 |
|
2006-01-25 Wakaba <wakaba@suika.fam.cx> |
| 728 |
|
|
| 729 |
|
* XDoctype.dis (setElementTypeDefinitionNode, |
| 730 |
|
setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR| |
| 731 |
|
if the new node is already used for another definition. |
| 732 |
|
(DocumentTypeDefinition, ElementTypeDefinition): Node |
| 733 |
|
property name was incorrect. |
| 734 |
|
(elementTypes, attributeDefinitions): Checks to |
| 735 |
|
ensure the collection is empty added. |
| 736 |
|
|
| 737 |
|
* Tree.dis: Property name typos fixed. |
| 738 |
|
(setNamedItem, setAttributeNode): Don't return any node |
| 739 |
|
if it replace itself. |
| 740 |
|
(c:userDeterminedId): Missing definition added. |
| 741 |
|
|
| 742 |
|
* DOMXML.dis (Notation): Missing property specification |
| 743 |
|
of|c:ownerDocument| as |mn:xrefnode0| is added. |
| 744 |
|
|
| 745 |
|
2006-01-23 Wakaba <wakaba@suika.fam.cx> |
| 746 |
|
|
| 747 |
|
* DOMCore.dis (Test): Missing argument added. |
| 748 |
|
(setNamedItem): If |DocumentType| with no |ownerDocument|, |
| 749 |
|
addition always fails with |WRONG_DOCUMENT_ERR|. Some |
| 750 |
|
error conditions were incorrect. |
| 751 |
|
|
| 752 |
|
* .cvsignore: Dummy files added. |
| 753 |
|
|
| 754 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
| 755 |
|
|
| 756 |
|
* DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR, |
| 757 |
|
INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes. |
| 758 |
|
|
| 759 |
|
* DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION| |
| 760 |
|
to avoid uninitialized value warning. |
| 761 |
|
|
| 762 |
|
* Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New |
| 763 |
|
classes (work in progress). |
| 764 |
|
|
| 765 |
|
* XDoctype.dis (elementTypes, attributeDefinitions): New attributes. |
| 766 |
|
|
| 767 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
| 768 |
|
|
| 769 |
|
* Tree.dis (getAttribute): Returns |null| if there |
| 770 |
|
is no attribute in |ManakaiDOM:DOMLatest| for compatibility |
| 771 |
|
with Web browser implementations. |
| 772 |
|
(getAttributeNS): It returned |null| if there |
| 773 |
|
is no attribute in any |For| unintentionally. It now |
| 774 |
|
returns an empty string in DOM levels less than or equals |
| 775 |
|
to three. |
| 776 |
|
|
| 777 |
|
* XMLParser.dis (shiftChar): Fixed not to be warned as |
| 778 |
|
uninitialized value or substring out of range. |
| 779 |
|
|
| 780 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
| 781 |
|
|
| 782 |
|
* DOMXML.dis (DocumentType.childNodes): Removed |
| 783 |
|
from |ManakaiDOM:ManakaiDOMLatest| variant. |
| 784 |
|
|
| 785 |
|
* XMLParser.dis: Parsing of general internal entities implemented. |
| 786 |
|
(_DocumentTypeDeclaration): Appends a document type definition |
| 787 |
|
node to the document. |
| 788 |
|
(_ProcessingInstructionDTD): Appends a processing |
| 789 |
|
instruction node to the document type definition. |
| 790 |
|
(Element_): Document element could not be an |EmptyElemTag|. |
| 791 |
|
|
| 792 |
|
2006-01-21 Wakaba <wakaba@suika.fam.cx> |
| 793 |
|
|
| 794 |
|
* DOMFeature.dis (featuresParamToFeaturesHash): New block |
| 795 |
|
code (seprated from |InputProcessor|). Now |
| 796 |
|
a |features| parameter's version can be specified by |
| 797 |
|
an array reference that contains a set of version |
| 798 |
|
numbers. A test added. |
| 799 |
|
|
| 800 |
|
* XMLParser.dis: A test added. |
| 801 |
|
|
| 802 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
| 803 |
|
|
| 804 |
|
* DOMCore.dis (Test): Don't invoke |DESTROY| method |
| 805 |
|
because it does not work with dummy object used in the test code. |
| 806 |
|
|
| 807 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
| 808 |
|
|
| 809 |
|
* DOMMain.dis (checkXMLNamesQName): Checks whether |
| 810 |
|
namespace URI is defined for not being warned. |
| 811 |
|
|
| 812 |
|
* XDoctype.dis: New module. |
| 813 |
|
|
| 814 |
|
* DOMCore.dis (DOMStringList): Test added. |
| 815 |
|
|
| 816 |
|
* Makefile: |XDoctype.pm| added. |
| 817 |
|
|
| 818 |
|
* Tree.dis (Require): Requires |XDoctype.dis|. |
| 819 |
|
(ManakaiDOMNodeObjectNode.eq): Added. |
| 820 |
|
(Test): |DOMError.location| must return a |DOMLocator| |
| 821 |
|
object (it was incorrectly tested to return |null|). |
| 822 |
|
(EmptyNodeList.DESTROY): Removed. |
| 823 |
|
|
| 824 |
|
2006-01-04 Wakaba <wakaba@suika.fam.cx> |
| 825 |
|
|
| 826 |
|
* Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and |
| 827 |
|
|ATTRIBUTE_DEFINITION_NODE| node types added. |
| 828 |
|
(appendChild, insertBefore, replaceChild): New |
| 829 |
|
two node types added and processing instruction nodes |
| 830 |
|
as document type definition node child is allowed |
| 831 |
|
in |ManakaiDOM:ManakaiDOMLatest| mode. |
| 832 |
|
(getNodeReference): New |interface| parameter |
| 833 |
|
to filter classes by interface is added. |
| 834 |
|
(ElementTypeDefinitionRole): New role. |
| 835 |
|
(AttributeDefinitionRole): New role. |
| 836 |
|
|
| 837 |
|
2006-01-02 Wakaba <wakaba@suika.fam.cx> |
| 838 |
|
|
| 839 |
|
* DOMCore.dis (DOMStringList): Reimplemented as tied array. |
| 840 |
|
|
| 841 |
|
2005-12-31 Wakaba <wakaba@suika.fam.cx> |
| 842 |
|
|
| 843 |
|
* DOMCore.dis (DOMError.location): Returns an empty |DOMLocator| |
| 844 |
|
if it is not provided. |
| 845 |
|
|
| 846 |
|
* XMLParser.dis: Parsing methods to skip document |
| 847 |
|
type declaration is added. |
| 848 |
|
|
| 849 |
|
2005-12-29 Wakaba <wakaba@suika.fam.cx> |
| 850 |
|
|
| 851 |
|
* XMLParser.dis (shiftChar): Checks characters are legal |
| 852 |
|
or not. Normalize end-of-lines. |
| 853 |
|
(rule _XMLDeclaration_): Implemented. |
| 854 |
|
(WFErrDef): Well-formedness error |wf-syntax-error|, |
| 855 |
|
|wf-pi-target-is-xml|, |wf-no-end-tag|, |
| 856 |
|
|wf-unsupported-xml-version|, |wf-malformed-enc-name|, |
| 857 |
|
|wf-malformed-xml-standalone|, |wf-legal-literal-character|, |
| 858 |
|
|wf-element-type-match|, |wf-unique-att-spec|, |
| 859 |
|
|wf-legal-character| added. |
| 860 |
|
(%character-code-point): New formatter rule. |
| 861 |
|
|
| 862 |
|
* Tree.dis (Document.xmlEncoding): It is now read-write attribute. |
| 863 |
|
|
| 864 |
|
* DOMCore.dis (DOMError.stringify): Added. |
| 865 |
|
(error-handler.default): Returns |false| (don't continue) |
| 866 |
|
when the error severity is |SEVERITY_FATAL_ERROR|. |
| 867 |
|
|
| 868 |
|
2005-12-28 Wakaba <wakaba@suika.fam.cx> |
| 869 |
|
|
| 870 |
|
* XMLParser.dis (DocumentEntity): Typos fixed. |
| 871 |
|
(|lexmode|s): New |?default-token| statements are used |
| 872 |
|
so that tokenizer description has been simplified |
| 873 |
|
and CDATA sections now can be parsed. |
| 874 |
|
|
| 875 |
|
2005-12-28 Wakaba <wakaba@suika.fam.cx> |
| 876 |
|
|
| 877 |
|
* XMLParser.dis: Some modifications made. |
| 878 |
|
|
| 879 |
|
2005-12-27 Wakaba <wakaba@suika.fam.cx> |
| 880 |
|
|
| 881 |
|
* DOMLS.dis (PARSE_ERR, SERIALIZE_ERR): They are now a |
| 882 |
|
global named resource. |
| 883 |
|
|
| 884 |
|
* Makefile: Rules to make |XMLParser.pm| is added. |
| 885 |
|
|
| 886 |
|
* XMLParser.dis: New file. |
| 887 |
|
|
| 888 |
|
2005-12-24 Wakaba <wakaba@suika.fam.cx> |
| 889 |
|
|
| 890 |
|
* DOMCore.dis (ManakaiDOMError._FORMATTER_PACKAGE_): Error |
| 891 |
|
message formatter can now vary by error types. |
| 892 |
|
(DOMLocator.utf32Offset): New (manakai extended) attribute. |
| 893 |
|
|
| 894 |
|
2005-12-23 Wakaba <wakaba@suika.fam.cx> |
| 895 |
|
|
| 896 |
|
* DOMCore.dis (DOMLocator): Implemented. |
| 897 |
|
|
| 898 |
|
2005-12-21 Wakaba <wakaba@suika.fam.cx> |
| 899 |
|
|
| 900 |
|
* DOMCore.dis (DOMConfigurationParameterApplication, |
| 901 |
|
domConfigurationParameter): New resources. |
| 902 |
|
|
| 903 |
|
2005-11-25 Wakaba <wakaba@suika.fam.cx> |
| 904 |
|
|
| 905 |
|
* Tree.dis (NodeList.___report_error, NamedNodeMap.___report_error): |
| 906 |
|
New methods. |
| 907 |
|
|
| 908 |
|
2005-11-24 Wakaba <wakaba@suika.fam.cx> |
| 909 |
|
|
| 910 |
|
* DOMMain.dis, DOMLS.dis, DOMXML.dis, Tree.dis: Old |__WARNING__| |
| 911 |
|
blocks are replaced by |DOMError|-based |__DOMCore:ERROR__| blocks. |
| 912 |
|
|
| 913 |
|
* DOMMain.dis (___report_error): Throws the error unkess |
| 914 |
|
it is a |DOMCore:DOMError| object. |
| 915 |
|
|
| 916 |
|
2005-11-24 Wakaba <wakaba@suika.fam.cx> |
| 917 |
|
|
| 918 |
|
* DOMCore.dis (severity, type): Getters return value from |
| 919 |
|
the definition of the current error (i.e. |-def| hash). |
| 920 |
|
(___error_def): New method. |
| 921 |
|
(errorType): |dis:dataType| changed to |DISCore:TFQNames| |
| 922 |
|
to ease natural reference to constant value. |
| 923 |
|
(error-handler.default): Prints the error message by |warn|. |
| 924 |
|
|
| 925 |
|
* Tree.dis (nodeValue.set): Reimplemented so that it |
| 926 |
|
warns as setting has no effect. |
| 927 |
|
(___report_error): New method. (It had been only implemented |
| 928 |
|
in superclass.) |
| 929 |
|
(setting-node-value-no-effect): New error type. |
| 930 |
|
|
| 931 |
|
2005-11-23 Wakaba <wakaba@suika.fam.cx> |
| 932 |
|
|
| 933 |
|
* DOMCore.dis: Error codes added. |
| 934 |
|
|
| 935 |
|
* Tree.dis (destroyNodeStem): New method implementation. |
| 936 |
|
|
| 937 |
|
2005-11-22 Wakaba <wakaba@suika.fam.cx> |
| 938 |
|
|
| 939 |
|
* Tree.dis (cloneNode): User data handlers implemented. |
| 940 |
|
(adoptNode): User data handlers implemented. |
| 941 |
|
|
| 942 |
|
2005-11-21 Wakaba <wakaba@suika.fam.cx> |
| 943 |
|
|
| 944 |
|
* DOMCore.dis (UserDataHandler): A constraint for Perl binding |
| 945 |
|
added. |
| 946 |
|
|
| 947 |
|
* Tree.dis (cloneNode): Invoking of |UserDataHandler|s are implemented. |
| 948 |
|
(getUserData, setUserData): Implemented. |
| 949 |
|
|
| 950 |
|
2005-11-20 Wakaba <wakaba@suika.fam.cx> |
| 951 |
|
|
| 952 |
|
* DOMCore.dis (UserDataHandler): Implemented. |
| 953 |
|
(DOMErrorHandler): Blessed package name bug fixed. |
| 954 |
|
|
| 955 |
|
* ManakaiDOMLS2003.dis: Reference to |Node| subclasses |
| 956 |
|
changed to |Tree.dis|. |
| 957 |
|
|
| 958 |
|
2005-11-20 Wakaba <wakaba@suika.fam.cx> |
| 959 |
|
|
| 960 |
|
* DOMMain.dis: Unused declarations and definitions removed. |
| 961 |
|
|
| 962 |
|
* DOMCore.dis: DOM document tree related interfaces removed. |
| 963 |
|
|
| 964 |
|
* Tree.dis: New module separated from |DOMCore.dis|. |
| 965 |
|
|
| 966 |
|
* DOMXML.dis: Some referent changed to |Tree.dis|. |
| 967 |
|
|
| 968 |
|
* Makefile: |Tree.dis| added. |
| 969 |
|
|
| 970 |
|
2005-11-16 Wakaba <wakaba@suika.fam.cx> |
| 971 |
|
|
| 972 |
|
* .cvsignore: Revised. |
| 973 |
|
|
| 974 |
|
2005-11-16 Wakaba <wakaba@suika.fam.cx> |
| 975 |
|
|
| 976 |
|
* ManakaiDOMLS2003.dis: Tests added. |
| 977 |
|
(domConfig): Method name in the code fixed to |flag|. |
| 978 |
|
|
| 979 |
|
* DOMMain.dis (findOffset32): Missing |^| in regular expressions |
| 980 |
|
added. |
| 981 |
|
|
| 982 |
|
* DOMCore.dis (hasChildNodes): Returns |false| if the node type |
| 983 |
|
is defined not to have any children. |
| 984 |
|
(CharacterData): Typos in element type names and function names fixed. |
| 985 |
|
|
| 986 |
|
2005-11-15 Wakaba <wakaba@suika.fam.cx> |
| 987 |
|
|
| 988 |
|
* DOMFeature.dis (MinimumImplementation.eq): Added. |
| 989 |
|
|
| 990 |
|
* DOMMain.dis: |DISPerl:ISA| reference fixed. |
| 991 |
|
|
| 992 |
|
* Generic.dis: Implements new |DOMLS:Generic| feature. |
| 993 |
|
|
| 994 |
|
2005-11-15 Wakaba <wakaba@suika.fam.cx> |
| 995 |
|
|
| 996 |
|
* DOMFeature.dis (stringifyFeatures): Don't double |SPACE| |
| 997 |
|
characters between feature names and versions. |
| 998 |
|
|
| 999 |
|
2005-11-13 Wakaba <wakaba@suika.fam.cx> |
| 1000 |
|
|
| 1001 |
|
* DOMFeature.dis (stringifyFeatures): A test code added. |
| 1002 |
|
|
| 1003 |
|
2005-10-26 Wakaba <wakaba@suika.fam.cx> |
| 1004 |
|
|
| 1005 |
|
* SimpleLS.dis (writeToString): Don't stop serializing |
| 1006 |
|
when an |false| value appears in |@src|. |
| 1007 |
|
|
| 1008 |
|
2005-10-16 Wakaba <wakaba@suika.fam.cx> |
| 1009 |
|
|
| 1010 |
|
* DOMCore.dis (DOMError, DOMErrorHandler): Reimplemented. |
| 1011 |
|
(ErrDef): Redefined. |
| 1012 |
|
|
| 1013 |
|
* DOMLS.dis (ErrDef): Redefined. |
| 1014 |
|
|
| 1015 |
|
2005-10-16 Wakaba <wakaba@suika.fam.cx> |
| 1016 |
|
|
| 1017 |
|
* DOMCore.dis (DOMConfiguration): Extends "ManakaiDOM:ManakaiDOMObject". |
| 1018 |
|
|
| 1019 |
|
2005-10-15 Wakaba <wakaba@suika.fam.cx> |
| 1020 |
|
|
| 1021 |
|
* DOMCore.dis (Require): References "DOMLS.dis" module. |
| 1022 |
|
(CParam): Definitions for LS module added. |
| 1023 |
|
|
| 1024 |
|
* DOMLS.dis (ManakaiDOMLSInput): The input processor |
| 1025 |
|
is also an output processor now. |
| 1026 |
|
(ManakaiDOMLSResourceResolver): Implemented. |
| 1027 |
|
(CParam): Definitions updated. |
| 1028 |
|
|
| 1029 |
|
2005-10-14 Wakaba <wakaba@suika.fam.cx> |
| 1030 |
|
|
| 1031 |
|
* DOMCore.dis (NOT_RECOGNIZED_CONFIG_PARAM_ERR, |
| 1032 |
|
NOT_SUPPORTED_CONFIG_VALUE_ERR, |
| 1033 |
|
INCOMPATIBLE_CONFIG_VALUE_ERR): New error subcodes. |
| 1034 |
|
(DOMConfiguration): Implemented. |
| 1035 |
|
(CParam): Definitions updated. |
| 1036 |
|
|
| 1037 |
|
* DOMMain.dis (DOMURIs): New data type. |
| 1038 |
|
|
| 1039 |
|
2005-10-13 Wakaba <wakaba@suika.fam.cx> |
| 1040 |
|
|
| 1041 |
|
* DOMCore.dis (setAttrValueNS): New code. |
| 1042 |
|
|
| 1043 |
|
2005-10-12 Wakaba <wakaba@suika.fam.cx> |
| 1044 |
|
|
| 1045 |
|
* DOMCore.dis: Don't set "infoset:prefix" internal |
| 1046 |
|
property unless it has non-null value. |
| 1047 |
|
(newObject): "refNode" parameter introduced. |
| 1048 |
|
(ManakaiDOMNode.newObject): Calls "NodeStem.newNode" |
| 1049 |
|
method if "refNode" parameter is specified. |
| 1050 |
|
(cloneNode): Don't set "read-only" flag. |
| 1051 |
|
(getNodeReference): Caches the result. |
| 1052 |
|
(selectAttributeNodeForRemove): Don't removes any other |
| 1053 |
|
non-namespace-aware attribute nodes. |
| 1054 |
|
|
| 1055 |
|
2005-10-11 Wakaba <wakaba@suika.fam.cx> |
| 1056 |
|
|
| 1057 |
|
* DOMCore.dis (appendChild, createElementNS, createAttributeNS, |
| 1058 |
|
setAttribute, setAttributeNS): "strictErrorChecking" attribute supported. |
| 1059 |
|
(doStrictErrorChecking): New code. |
| 1060 |
|
|
| 1061 |
|
* DOMMain.dis (XML10Name, XML11Name): "strictErrorChecking" attribute |
| 1062 |
|
supported. |
| 1063 |
|
|
| 1064 |
|
* Makefile: Rule to make "DOMFeature.pm" restored. |
| 1065 |
|
|
| 1066 |
|
2005-10-10 Wakaba <wakaba@suika.fam.cx> |
| 1067 |
|
|
| 1068 |
|
* DOMCore.dis (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode. |
| 1069 |
|
(adoptNode): Implemented. |
| 1070 |
|
|
| 1071 |
|
2005-10-09 Wakaba <wakaba@suika.fam.cx> |
| 1072 |
|
|
| 1073 |
|
* DOMHTML.dis, DOMWebForms.dis: Typos in element type prefix fixed. |
| 1074 |
|
|
| 1075 |
|
* DOMFeature.dis (DOMCore:implementation): Short name added. |
| 1076 |
|
|
| 1077 |
|
* DOMCore.dis (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode. |
| 1078 |
|
(DOMCore:node): New error parameter. |
| 1079 |
|
(DOMCore:ownerDocument): Changed from "mn:irefnode0" |
| 1080 |
|
to "mn:xrefnode0". For this reason, all assignments |
| 1081 |
|
to this property have been rewritten to references |
| 1082 |
|
to code "mn:setXRefNode". |
| 1083 |
|
(cloneNode): Implemented. |
| 1084 |
|
(setAttributeNode): A missing "importTree" method call added. |
| 1085 |
|
(setAttributeNodeNS): Perl code removed and changed |
| 1086 |
|
to a reference to "setAttributeNode" method code. |
| 1087 |
|
|
| 1088 |
|
* DOMXML.dis (DOMCore:ownerDocument): Changed from "mn:irefnode0" |
| 1089 |
|
property to "mn:xrefnode0" property. |
| 1090 |
|
|
| 1091 |
|
2005-10-08 Wakaba <wakaba@suika.fam.cx> |
| 1092 |
|
|
| 1093 |
|
* DOMCore.dis, DOMLS.dis: Now constant values are defined only |
| 1094 |
|
in interfaces. |
| 1095 |
|
|
| 1096 |
|
2005-10-06 Wakaba <wakaba@suika.fam.cx> |
| 1097 |
|
|
| 1098 |
|
* DOMCore.dis (ManakaiDOMEmptyNodeList): New class. |
| 1099 |
|
(ManakaiDOMCharacterData): Methods reimplemented. |
| 1100 |
|
(splitText): Reimplemented. |
| 1101 |
|
(childNodes): Returns a "ManakaiDOMEmptyNodeList" |
| 1102 |
|
for non-parent node types. |
| 1103 |
|
|
| 1104 |
|
* DOMXML.dis (childNodes): Returns a "ManakaiDOMEmptyNodeList" |
| 1105 |
|
for non-parent node types. |
| 1106 |
|
|
| 1107 |
|
2005-10-05 Wakaba <wakaba@suika.fam.cx> |
| 1108 |
|
|
| 1109 |
|
* ManakaiDOMLS2003.dis: Revised to new format. |
| 1110 |
|
|
| 1111 |
|
* GenericLS.dis (DOMLS:ParseString): New feature. |
| 1112 |
|
|
| 1113 |
2005-10-05 Wakaba <wakaba@suika.fam.cx> |
2005-10-05 Wakaba <wakaba@suika.fam.cx> |
| 1114 |
|
|
| 1115 |
* DOMFeature.dis: Description added and revised. (Still more |
* DOMFeature.dis: Description added and revised. (Still more |
| 1206 |
* DOMCore.pm (DOMImplementation): Provides "XML" and "XMLVersion" |
* DOMCore.pm (DOMImplementation): Provides "XML" and "XMLVersion" |
| 1207 |
features if it is "for" ManakaiDOM:DOMXMLFeature. |
features if it is "for" ManakaiDOM:DOMXMLFeature. |
| 1208 |
|
|
| 1209 |
* DOMMain.pm (StringExtended): Code portions of raising |
* DOMMain.pm (StringExtend): Code portions of raising |
| 1210 |
StringOutOfBoundsException is temporary disabled since |
StringOutOfBoundsException is temporary disabled since |
| 1211 |
it is not a DOM-style exception supported by |
it is not a DOM-style exception supported by |
| 1212 |
current implementation of ManakaiNode - it will be |
current implementation of ManakaiNode - it will be |