I am agnostic?

No Comments

Whenever somebody asks me what my professed religion is, I always say that I am a NPC; a non-practicing Catholic. It is a simpler way stating that I believe most of what the Roman Catholic church teaches but not all.

But this quiz about what religion fits you produced the following result that seems to fit me:

You scored as agnosticism. You are an agnostic. Though it is generally taken that agnostics neither believe nor disbelieve in God, it is possible to be a theist or atheist in addition to an agnostic. Agnostics don’t believe it is possible to prove the existence of God (nor lack thereof).

Agnosticism is a philosophy that God’s existence cannot be proven. Some say it is possible to be agnostic and follow a religion; however, one cannot be a devout believer if he or she does not truly believe.

agnosticism

83%

Christianity

71%

Buddhism

71%

Islam

58%

Satanism

58%

Paganism

54%

atheism

54%

Hinduism

42%

Judaism

8%

I think I can use the word agnostic when somebody asks me and see how high their brows arch. Hehehehe. But I am sure my wife is going to skin me alive when she reads this. :twisted-grin:

agnostic-path

ciao!

Drivel posts

No Comments

Posting from drivel was more efficient, and the interface was friendlier. But I really need something that is cross-platform. Maybe my own implementation woudl be in order after I finish IS238. This would be a perfect opportunity to learn Python.

Something to chuck in the back-burner.

ciao!

Burned by subtlety: DOM4J vs W3C DOM (Xerces/Xalan)

No Comments

I was tasked to switch a utility from using the DOM4J API to the W3C DOM API because the DOM4J implementation is transforming Scandinavian characters into garbage wihle the XMLSerializer class in Xerces does it without any sweat.

Sounds relatively easy? Not when you are inexperienced in XML programming, Java or otherwise, as well as in XSL and its likes. Another factor is that the code was deeply embedded in the DOM4J API and not all have a corresponding functionality in the target implementation.

Pass forward to 12 working days later, I have almost completed the porting process but the final output has some element starting markups (‘< ', '>‘) escaped. I searched high and low for an answer as well as played with output format options of the Transformer class but to no avail.

Then Francis helped me understand a little bit of XSL, at least he pointed me to where I should start. One man-day and a few online XSL tutorials later, I found out this link that describes my issues perfectly. It seems the interpretation of the contents of the CDATA section is parser-specific. Where was that link two days ago before I started tearing my hair apart? Grrr…

Lesson of the Day: Google might be your friend, but like any friend it can play a nasty and costly trick on you.

Onward to transforming the CDATA texts into xsl:text elements with output escaping disabled and hopefully complete this task today. I will play the good colleague role and put out a note on each stylesheet so the next person who messes with the parsers wont go through the same grief as me.

ciao!

Social Media Auto Publish Powered By : XYZScripts.com