private void checkNode(BOp bop) { if (bop instanceof ConstantNode) { BigdataValue value = ((ConstantNode)bop).getValue(); if (XMLSchema.DATETIME.equals(value)) { IV xsdDateTimeIV = value.getIV(); assertFalse(xsdDateTimeIV.isNullIV()); assertTrue(xsdDateTimeIV.isVocabulary()); } } else { for (BOp arg: bop.args()) { checkNode(arg); } } } }
public void testBug() throws Exception { // Setup a triple store using a vocabulary that declares xsd:dateTime (this should be in the default vocabulary). final BigdataSail sail = getSail(); try { executeQuery(new BigdataSailRepository(sail)); } finally { sail.__tearDownUnitTest(); } }
private void checkNode(BOp bop) { if (bop instanceof ConstantNode) { BigdataValue value = ((ConstantNode)bop).getValue(); if (XMLSchema.DATETIME.equals(value)) { IV xsdDateTimeIV = value.getIV(); assertFalse(xsdDateTimeIV.isNullIV()); assertTrue(xsdDateTimeIV.isVocabulary()); } } else { for (BOp arg: bop.args()) { checkNode(arg); } } } }
public void testBug() throws Exception { // Setup a triple store using a vocabulary that declares xsd:dateTime (this should be in the default vocabulary). final BigdataSail sail = getSail(); try { executeQuery(new BigdataSailRepository(sail)); } finally { sail.__tearDownUnitTest(); } }
assertFalse(xsdDateTimeIV.isNullIV()); assertTrue(xsdDateTimeIV.isVocabulary()); assertFalse(xsdDateTimeIV.isNullIV()); assertTrue(xsdDateTimeIV.isVocabulary()); assertFalse(xsdDateTimeIV.isNullIV()); assertTrue(xsdDateTimeIV.isVocabulary()); List<FilterNode> filterNodes = whereClause.getChildren(FilterNode.class); for (FilterNode filterNode: filterNodes) { checkNode(filterNode);
assertFalse(xsdDateTimeIV.isNullIV()); assertTrue(xsdDateTimeIV.isVocabulary()); assertFalse(xsdDateTimeIV.isNullIV()); assertTrue(xsdDateTimeIV.isVocabulary()); assertFalse(xsdDateTimeIV.isNullIV()); assertTrue(xsdDateTimeIV.isVocabulary()); List<FilterNode> filterNodes = whereClause.getChildren(FilterNode.class); for (FilterNode filterNode: filterNodes) { checkNode(filterNode);