Original title:
Generátor analyzátorů dokumentů popsaných pomocí RELAX NG
Translated title:
Generator of Analysers of Documents Defined by RELAX NG
Authors:
Šimonek, Jan ; Janoušek, Vladimír (referee) ; Martinek, David (advisor) Document type: Bachelor's theses
Year:
2012
Language:
cze Publisher:
Vysoké učení technické v Brně. Fakulta informačních technologií Abstract:
[cze][eng]
Tato práce se zabývá vytvořením generátoru (překladače), který na základě XML schématu v jazyce RELAX NG vytvoří C++ analyzátor XML dokumentů. Analyzátor je podle zadaného schématu schopen načítat data z XML, validovat je, zpřístupnit je v paměti a zpětně data do XML zapsat. Možnosti použití tohoto systému jsou ilustrovány na příkladech. V práci je také popsán formát XML, existující jazyky pro popis schémat a nutné teoretické základy validace.
This bachelor's thesis deals with automatization of XML loading. This is accomplished by a generator of XML analyser. The generator (translator) takes a XML scheme in RELAX NG and it produces analyser in C++. The generated analyser is capable of unmarshalling and validating data from XML, providing access to the data and marshalling the data back to XML. Usability of this process is demonstrated on examples. Theory of the XML, XML schema languages and validation is also discussed.
Keywords:
analyser; data binding; generator; marshalling; RELAX NG; schema; serialization; unmarshalling; validation; XML; analyzátor; data binding; generátor; načítání; RELAX NG; schéma; serializace; ukládání; validace; XML
Institution: Brno University of Technology
(web)
Document availability information: Fulltext is available in the Brno University of Technology Digital Library. Original record: http://hdl.handle.net/11012/55187