Author: tylkomat

Abstract:
This master thesis introduces a mechanism of mapping XML Schema (XSD) to PHP. In the mapping process PHP classes are automatically generated which include all the functionality defined by the schema. The second achievement is an online syntax-directed editor based on the above defined mapping to friendly create Extensible Markup Language (XML) documents based on the mapped schema. In addition the editor offers several guidance mechanisms to create complex XML documents online.

Programs intend to save a whole page for everything that is saved as PDF, even if the content just takes 5% of a page. If you then have to crop a large batch of PDFs manually it is really a pain, but Inkscape offers a nice way to do this using the command line.

While searching for ranges in regular expressions I found this page: http://utilitymill.com/utility/Regex_For_Range/42 The page generates regular expressions for ranges and works really nice. You want for example a regex for the range 12 to 389 and the page generates this for you:

^0*(1[2-9]|[2-9][0-9]|[12][0-9]{2}|3[0-8][0-9])$

Unfortunately negative values are not allowed. But I needed to have an regex for the range between -128 and 127. If you also need something like this to define types like short or byte, there is a nice trick.

generate the regex from 0 to 128: ^([0-9]{1,2}|1[01][0-9]|12[0-8])$

add an optional – in the beginning: ^[-]?([0-9]{1,2}|1[01][0-9]|12[0-8])$

Maybe many of you have such problem. You have a table and want to have a reference inside, but it doesn’t work. Propably you get this or similar error:

name{Hfootnote.7} has been referenced but does not exist, replaced by a fixed one

This happens, because hyperref has problems with its counters, when they are inside of a table environment.

I searched the net for a couple of hours with no real solution. Mostly it says, don’t use footnote in table. But it’s much more nice to have. With some inspiration from some boards I came up with this solution which works fine for me.

I could never imagine how hard it is to get a widget running or better to get it accepted. Maybe it is just for the JIL specification or especially for the Vodafone Appstar Competition which I attended. I definitely don’t know.

Imagine this: You have a good idea about some piece of software (widget) you would want to have on your mobile, what do you do ? You read the W3C widgets specification and a lot of tutorials and then you are ready to develop your own widgets.

Life is hard, developing a widget is even harder…

I could never imagine how hard it is to get a widget running or better to get it accepted. Maybe it is just for the JIL specification or especially for the Vodafone Appstar Competition which I attended. I definitely don’t know.

Imagine this: You have a good idea about some piece of software (widget) you would want to have on your mobile, what do you do ?