• Home
  • RSS Feed
  • Log in

Posts Tagged ‘XML’

The XML Instance Gamut
Posted by Wilfred Springer terribly early in the morning: October 19th, 2009

If you happen to be in the business of writing software serving XML documents or consuming XML documents - and if you read this post, then there is a fair chance you are - then there is always one big challenge: how do you make sure your service or client is capable of dealing with all of the XML documents you could possibly expect to be passed around?

And if you happen to come from the test-driven world, the answer is obviously: by testing it. However, if you try to do that, things might be harder than you expect at first.

What about schemas?

(more...)

  • Share/Bookmark

Tags: Java, XML, XML Schema
Filed under Java | 5 Comments »

Pimping the Scala XML library
Posted by Age Mooy in the late evening: July 25th, 2009

Earlier this week I ran into a missing feature in the Scala xml library and I ended up adding this feature myself, which turned out to be pretty simple.

I was trying to extract the text contents of an element in a piece of XML using the handy \ and \\ methods on scala.xml.NodeSeq. These methods allow you to extract sub-elements from an XML node in a way very similar to XPath, something like this:

val xml = <a><b><c>text</c></b></a>
val c1 = xml \ "b" \ "c"
val c2 = xml \\ "c"
val text = c2.text

The problem I ran into occurred when I tried to use these methods to extract an element when one of its attributes had a certain value.

(more...)

  • Share/Bookmark

Tags: Scala, XML, xpath
Filed under Scala, XML | 3 Comments »

Beware of transitive dependencies… For they can be old and leaky
Posted by Jeroen van Erp around lunchtime: September 15th, 2008

In many JEE apps today, you almost cannot forgo XML. Whether it is in configuration, data structures or service interfaces, you will certainly use a number of XML files. In a recent project we had to deal with a number of external services which used an XML interface. Little did we know that we introduced a potential time-bomb in our application... (more...)

  • Share/Bookmark

Tags: Eclipse, eclipse memory analyzer, Java, maven2, memory leak, OutOfMemoryError, XML
Filed under Eclipse, Java, Maven, Performance, Testing | 3 Comments »

Deployment automation for Java application running on Websphere, WebLogic and JBoss

Archives

  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009

Xebia Sites

  • Xebia Corporate
  • Xebia France
  • Xebia India

Categories

  • Java (282)
  • Agile (109)
  • General (50)
  • Testing (42)
  • Performance (42)
  • Hibernate (36)
  • Scrum (33)
  • Podcast (31)
  • Architecture (31)
  • Spring (28)
  • SOA (24)
  • Maven (22)
  • Project Management (22)
  • Middleware (23)
    • Deployment (14)
  • Flex (17)
  • JPA (17)
  • Eclipse (15)
  • Xebia Labs (15)
  • Quality Assurance (14)

Tag Cloud

    Hibernate Poppendieck Grails Ajax Groovy Agile Awareness Workshop Java Scala Lean Maven IntelliJ Semantic Web Spring Seam Closures JavaOne Introduction to Agile Agile fitnesse qcon product owner Xebia Performance XML Testing Architecture Functional Programming esb SOA Scrum