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.
InitDatase() has been renamed to UseODBCDatabase() for more flexibility (to easily implement more database plugins).
<spekulation>
Macht hoffnungen das SQLite oder ähnlich bald nativ zur Verfügung steht
</spekulation>
PureBasic 5.73 LTS | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Nutella hat nur sehr wenig Vitamine. Deswegen muss man davon relativ viel essen.
Pelagio hat geschrieben:Ich habe jetzt auch BETA3 an einem neuen Programm getestet und bin leider nicht weit gekommen.
InitDatabase() war PB nicht mehr bekannt.
InitDatabase() is not a function, array, macro or linked list
Vielleicht liest Du auch mal was ich geschrieben habe?
Direkt über Deinem Beitrag.
PureBasic 5.73 LTS | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Nutella hat nur sehr wenig Vitamine. Deswegen muss man davon relativ viel essen.
Pelagio hat geschrieben:Ich mussmich wohl bei ts-soft entschuldigen,
leider habe ich deinen vorherigen Beitrag nicht genau gelesen sonst hätte ich gesehen das InitDataBase() durch UseODBCDatabase() ersetzt wurde.
Entschuldigen brauchste Dich nicht, aber ein Termin beim Augenarzt (okay, nicht so gemeint)
PureBasic 5.73 LTS | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Nutella hat nur sehr wenig Vitamine. Deswegen muss man davon relativ viel essen.
In den CompilerOptionen kann man jetzt auch einstellen das die Exe im Source-Verzeichnis
erstellt werden soll. Damit kannst du dir die Prozedur ganz sparen.