[GB.XML]
* BUG: The XmlReader.Node.Atributtes is a read-only collection. git-svn-id: svn://localhost/gambas/trunk@5140 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
efccab9dc4
commit
c7229ee28d
1 changed files with 3 additions and 3 deletions
|
@ -136,7 +136,7 @@ GB.ReturnNewString(attr->attrValue, attr->lenAttrValue);
|
|||
|
||||
END_METHOD
|
||||
|
||||
BEGIN_METHOD(CReaderNodeAttr_put, GB_STRING value; GB_STRING name)
|
||||
/*BEGIN_METHOD(CReaderNodeAttr_put, GB_STRING value; GB_STRING name)
|
||||
|
||||
if(!THIS->foundNode)
|
||||
{
|
||||
|
@ -146,7 +146,7 @@ if(!THIS->foundNode->isElement()) return;
|
|||
THIS->foundNode->toElement()->setAttribute(STRING(name), LENGTH(name),
|
||||
STRING(value), LENGTH(value));
|
||||
|
||||
END_METHOD
|
||||
END_METHOD*/
|
||||
|
||||
BEGIN_PROPERTY(CReaderNodeAttr_count)
|
||||
|
||||
|
@ -361,7 +361,7 @@ GB_DESC CReaderNodeAttributesDesc[] =
|
|||
GB_DECLARE(".XmlReader.Node.Attributes", 0), GB_VIRTUAL_CLASS(),
|
||||
|
||||
GB_METHOD("_get", "s", CReaderNodeAttr_get, "(Name)s"),
|
||||
GB_METHOD("_put", "s", CReaderNodeAttr_put, "(Value)s(Name)s"),
|
||||
//GB_METHOD("_put", "s", CReaderNodeAttr_put, "(Value)s(Name)s"),
|
||||
GB_METHOD("_next", "s", CReaderNodeAttr_next, ""),
|
||||
GB_PROPERTY_READ("Count", "i", CReaderNodeAttr_count),
|
||||
|
||||
|
|
Loading…
Reference in a new issue