PureBasic 4.10 beta 3
Verfasst: 08.08.2007 00:23
Tag zusammen,
Die nächste beta Version für Windows steht jetzt zum download bereit.
Wie immer auf dem Account auf PureBasic.com
Zusätzlich zu den Bugfixes gabe es folgende Änderungen:
Die nächste beta Version für Windows steht jetzt zum download bereit.
Wie immer auf dem Account auf PureBasic.com
Zusätzlich zu den Bugfixes gabe es folgende Änderungen:
Code: Alles auswählen
XML Library:
------------
Extended the XML library to be able to handle any well-formed XML document
(event when containing DTDs, processing instructions, etc)
2 new types of nodes have been added:
#PB_XML_DTD
Constains Document Type Definitions. The node contains the whole DOCTYPE tag.
Its content is not checked by the library and written back to XML as it is.
This way DOCTYPE tags can be correctly preserved inside files, and it provides
a way to access and modify it via Get/SetXMLNodeText().
#PB_XML_Instruction
Represents a XML processing instruction. This kind of node has a name and text content.
(so Get/SetXMLNodeName() and Get/SetXMLNodeText() work on them.
Example: <?php instruction content ?>
The "php" is the node name, the rest is the node content.
New commands have been added:
Get/SetXMLStandalone()
Get/Set the "standalone" attribute in the XML declaration. This attribute is
important in connection with handling DTDs.
ResolveXMLNodeName()
ResolveXMLAttributeName()
For a document using XML namespaces. These functions return the expanded name of nodes and attributes.
LoadXML, CatchXML have a new optional 'Encoding' parameter with which the encoding used to read
the document can be enforced. (Note that this overwrites the encoding in the XML declaration!)
This can be used in case there is no XML declaration or if the used encoding is known from another
source like the transfer protocol.
Note: The english helpfile is up to date with these new changes (german one not done yet).
Please have a look there for an explanation of the new stuff.
IDE:
----
The handling of Folding, AutoComplete and ProcedureBrowser has been redesigned for more speed and flexibility.
It should make editing of sourcecodes (especially larger ones) much smoother than before.
Note: Due to this change there could be new bugs introduces in the IDE, so
please do some extra testing in the IDE, especially in the areas of Folding, AutoComplete, ProcedureBrowser,
but also when editing sourcecodes in general.