{
IRI iri = IRIFactory.iriImplementation().create(iriStr) ;
System.out.println(iri) ;
System.out.println("Relative: "+iri.isRelative()) ;
Iterator<Violation> vIter = iri.violations(true) ;
for ( ; vIter.hasNext() ; )
{
System.out.println("** "+vIter.next().getShortMessage()) ;
}
System.out.println(iriStr + " ==> "+iri) ;