Lines Matching defs:ns
187 private void checkNsName(int context, LocatedString ns) {
189 error("ns_name_except_contains_ns_name", ns.getToken());
423 private void addAttribute(Annotations a, String ns, String localName, String prefix, String value, Token tok) {
424 String key = ns + "#" + localName;
426 error("duplicate_attribute", ns, localName, tok);
429 a.addAttribute(ns, localName, prefix, value, makeLocation(tok));
439 String ns = (String)namespaceTable.get(prefix);
440 if (ns == null) {
444 return ns;
447 String ns = (String)datatypesTable.get(prefix);
448 if (ns == null) {
452 return ns;
1381 LocatedString ns;
1384 ns = NsName();
1385 checkNsName(context, ns); {if (true) return ncb.makeNsName(ns.getString(), ns.getLocation(), a);}
1402 String ns;
1404 ns = "";
1406 ns = defaultNamespace;
1407 {if (true) return ncb.makeName(ns, name.getString(), null, name.getLocation(), a);}
1422 LocatedString ns;
1424 ns = NsName();
1425 checkNsName(context, ns);
1429 nc = ncb.makeNsName(ns.getString(), nc, ns.getLocation(), a);
1434 nc = ncb.makeNsName(ns.getString(), ns.getLocation(), a);
1671 String ns;
1675 ns = Inherit();
1688 include.endInclude(parseable, resolve(href), ns, makeLocation(t), a);
1782 String ns;
1785 ns = Inherit();
1787 {if (true) return sb.makeExternalRef(parseable, resolve(href), ns, scope, makeLocation(t), a);}
1796 String ns = null;
1801 ns = Prefix();
1807 if (ns == null)
1808 ns = defaultNamespace;
1809 {if (true) return ns;}
2273 String ns = lookupPrefix(prefix, t);
2274 if (ns == this.inheritedNs)
2276 else if (ns.length() == 0 && !nested)
2278 else if (ns.equals(WellKnownNamespaces.RELAX_NG) && !nested)
2280 /*else if (ns.length() == 0
2284 else if (ns.equals(WellKnownNamespaces.XMLNS))
2287 if (ns.length() == 0)
2289 addAttribute(a, ns, qn.substring(colon + 1), prefix, value, t);
2370 String ns = lookupPrefix(prefix, t);
2371 if (ns == this.inheritedNs) {
2373 ns = "";
2375 else if (!nested && ns.equals(WellKnownNamespaces.RELAX_NG)) {
2377 ns = "";
2380 if (ns.length() == 0)
2383 eab = sb.makeElementAnnotationBuilder(ns, qn.substring(colon + 1), prefix,