Friday, December 30, 2011

Bandarawela Holiday Home

Recently we (my family)  went a trip to Bandarawela, I found this place from the web. I had no clue about what sort of a place it is when I book, though I paid 6000 for a unknown person (Mr Sarath) which I have only his mobile numbers. Eventually the place was very good. Caretaker is good, foods are ok. We have our freedom to play around. No restriction at all on anything. Actually a calm place. I would like to recommend this place to stay in Bandarawela when you go next time. Have fun !!

Saturday, June 18, 2011

Jayantha Learners - Narahenpita, Werahera, Malabe, Biyagama

Recently I went to Jayantha learners to train and get my driving license. I registered with them for 5 lessons plus one lesson for motor bike. They said they can give vehicle anytime and we can call them and put an appointment. As discussed I phoned to the office to put the training session.The girl who is in office said vehicle is not available right now, So I asked what time it'll available then, she said "I can't say that exactly" then I asked can I come around 12 noon and will it available at that time, she said "come and see I can't predict". I was so angry. This is how they treat to clients after they take the job.

I went their by 12 noon but the vehicle was not available. I had to wait their for more than 1 hr. Just sitting on a chair. They have only one vehicle. Apart from that, I asked I have one session for bike so when can I have it, she said for that I have to go Werahera. I was shocked, to get trained a bike have to go Werahera.

So this is the bad experience I have with Jayantha Learners Narahenpita. I never recommend Jayantha learners to anyone. This has happened to my friend also.

Most of the time we have to hang around their office until vehicle comes. Even we booked it, It is not available at the reserved time.

Thursday, December 2, 2010

Jaxp Error 'com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Content is not allowed in prolog.'

I had the above error when I tried to transform a xml in to another xml.
The mistake was, I have pass the xml file as a ByteArrayInputStream instead of InputStream. I was searching every where about the error but no clue with my code.


            xsltFile = getInputStream(xslPath);
            xmlFile = getInputStream(inputXML);
           
            Source xmlSource = new StreamSource(xmlFile);
            Source xsltSource = new StreamSource(xsltFile);

            // the factory pattern supports different XSLT processors
            TransformerFactory transFact = TransformerFactory.newInstance();               
            Templates cachedXSLT = transFact.newTemplates(xsltSource);
            Transformer trans = cachedXSLT.newTransformer();

            writer = new StringWriter();
           
            trans.transform(xmlSource, new StreamResult(writer));

            System.out.println(writer.toString());


Try to chenge the input type and it would help for you.
Aalso I saw some info in Wrox site.

http://p2p.wrox.com/xslt/48696-error-content-not-allowed-prolog-sos.html

Sri Lanka - Anyone needs B Positive Blood ?

I have B+ Blood if anyone wants can donate.

Tuesday, October 26, 2010

DIALOG GSM GPRS/MMS Settings for Sri Lanka

DIALOG GSM GPRS/MMS Settings for Sri Lanka

““Sanctuary in the middle of nature” The Wallawwa

It was a wonderful experience to be able to rest in a natural and rich surroundings before my long flight to Toronto. The Garden suite and the bathrooms were huge and I couldn’t have asked for more. I enjoyed the gentle winds and the breathtaking spectacular view of the natural beauty of the place along with the mature trees and birds. Amenities, cleanliness and impeccable service of the helpful and friendly staff made my stay pleasurable. Close to the Katunayake International airport, they have made sure that this place is always immaculate and pure for a comfortable sleep. Soft beddings with high quality linen were extras added to this relaxed atmosphere. An Escape from the ordinary, there was breathtaking landscapes and the delightful cuisine was lovely. The spa was another extra facility for tranquility. You will truly enjoy yourself if you want to get away from all the hassle before your Journey. “Sanctuary in the middle of nature”