/** Answer the value used to index this literal TODO Consider pushing indexing decisions down to the datatype */ @Override public Object getIndexingValue() { return isXML() ? this : !lang.equals( "" ) ? getLexicalForm() + "@" + lang.toLowerCase(Locale.ENGLISH) : wellformed ? getValue() : getLexicalForm() ; }