try { YearMonthDurationValue ymdv = new YearMonthDurationValue("P1Y2M"); ymdv.convertTo(Type.DAY_TIME_DURATION); fail(); } catch (XPathException e) {  }
YearMonthDurationValue ymdv = new YearMonthDurationValue("P1Y2M"); assertEquals("PT0S", ymdv.convertTo(Type.DAY_TIME_DURATION).getStringValue());
	public void testConvert2() throws XPathException {		try {			YearMonthDurationValue ymdv = new YearMonthDurationValue("P1Y2M");			ymdv.convertTo(Type.DAY_TIME_DURATION);			fail();		} catch (XPathException e) {			// expected		}	}