/** Prefix of current element. Substring of qName. XML Namespace Spec 14-Jan-1999 [7] */
public String getPrefix() { return prefix; }
+ public Hash getUriMap() { return urimap; } // HACK
+
/** URI of current tag. XML Namespace Spec 14-Jan-1999 section 1 */
- public String getUri() { return getUri(null); }
+ public String getUri() { return getUri(prefix); }
/** URI of a given prefix. Never returns null, instead gives "". */
public String getUri(String p) {
public int getType() { return this.type; }
public int getLine() { return this.line; }
public int getCol() { return this.col; }
- public String getMessage() { return this.error; }
+ public String getMessage() { return this.error + (line >= 0 && col >= 0 ? " at " + line + ":" + col: ""); }
}