/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
XML11Char.java | 76 /** XML namespaces 1.1 NCName */
248 * Returns true if the specified character is a valid NCName start
260 * Returns true if the specified character is a valid NCName
334 * [4] NCName ::= NCNameStartChar NCNameChar*
337 * Check to see if a string is a valid NCName according to [4]
340 * @param ncName string to check
341 * @return true if name is a valid NCName
343 public static boolean isXML11ValidNCName(String ncName) {
344 int length = ncName.length();
348 char ch = ncName.charAt(0); [all...] |
XMLChar.java | 83 /** NCName start character mask. */
86 /** NCName character mask. */
[all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
XML11Char.java | 71 /** XML namespaces 1.1 NCName */ 243 * Returns true if the specified character is a valid NCName start 255 * Returns true if the specified character is a valid NCName 329 * [4] NCName ::= NCNameStartChar NCNameChar* 332 * Check to see if a string is a valid NCName according to [4] 335 * @param ncName string to check 336 * @return true if name is a valid NCName 338 public static boolean isXML11ValidNCName(String ncName) { 339 int length = ncName.length(); 343 char ch = ncName.charAt(0) [all...] |
XMLChar.java | 81 /** NCName start character mask. */ 84 /** NCName character mask. */ 478 * Returns true if the specified character is a valid NCName start 489 * Returns true if the specified character is a valid NCName 538 * [4] NCName ::= (Letter | '_') (NCNameChar)* 541 * Check to see if a string is a valid NCName according to [4] 544 * @param ncName string to check 545 * @return true if name is a valid NCName 547 public static boolean isValidNCName(String ncName) { 548 if (ncName.length() == 0 [all...] |
QName.java | 119 XMLErrorResources.ER_ARG_LOCALNAME_INVALID,null )); //"Argument 'localName' not a valid NCName"); 166 XMLErrorResources.ER_ARG_LOCALNAME_INVALID,null )); //"Argument 'localName' not a valid NCName"); 172 XMLErrorResources.ER_ARG_PREFIX_INVALID,null )); //"Argument 'prefix' not a valid NCName"); 216 XMLErrorResources.ER_ARG_LOCALNAME_INVALID,null )); //"Argument 'localName' not a valid NCName"); 307 XMLErrorResources.ER_ARG_LOCALNAME_INVALID,null )); //"Argument 'localName' not a valid NCName"); 396 XMLErrorResources.ER_ARG_LOCALNAME_INVALID,null )); //"Argument 'localName' not a valid NCName"); 474 XMLErrorResources.ER_ARG_LOCALNAME_INVALID,null )); //"Argument 'localName' not a valid NCName");
|
/external/webkit/LayoutTests/fast/xpath/ |
ambiguous-operators-expected.txt | 1 Test that an NCName and * are interpreted as an operator when in binary operator context, and as a NameTest otherwise.
|
ambiguous-operators.html | 11 <p>Test that an NCName and * are interpreted as an operator when in
|
/external/apache-xml/src/main/java/org/apache/xml/res/ |
XMLErrorResources.java | 340 // Note to translators: A QNAME has the syntactic form [NCName:]NCName 344 "Localname in QNAME should be a valid NCName"}, 346 // Note to translators: A QNAME has the syntactic form [NCName:]NCName 350 "Prefix in QNAME should be a valid NCName"},
|
/external/webkit/LayoutTests/fast/dom/DOMImplementation/ |
createDocument-namespace-err-expected.txt | 38 FAIL createDocument("http://example.com/", "a:?", null); non-ASCII character after colon is CombiningChar, which is NCNameChar but not (Letter | "_") so invalid at start of NCName (but still a valid XML name, hence not INVALID_CHARACTER_ERR); expected NAMESPACE_ERR, threw INVALID_CHARACTER_ERR 39 PASS createDocument("http://example.com/", "?:a", null); non-ASCII character after colon is CombiningChar, which is NCNameChar but not (Letter | "_") so invalid at start of NCName (Gecko chooses to throw NAMESPACE_ERR here, but either is valid as this is both an invalid XML name and an invalid QName); threw INVALID_CHARACTER_ERR
|
/external/libxslt/libxslt/ |
attributes.c | 290 const xmlChar *ncname; local 306 ncname = xsltSplitQName(style->dict, value, &prefix); 320 attrItems = xmlHashLookup2(style->attributeSets, ncname, prefix); 356 "add attribute to list %s\n", ncname); 390 "add attribute to list %s\n", ncname); 428 "xsl:attribute-set : %s adds use %s\n", ncname, curval); 454 xmlHashUpdateEntry2(style->attributeSets, ncname, prefix, attrItems, NULL); 457 "updated attribute list %s\n", ncname); 1043 const xmlChar *ncname = NULL; local 1091 ncname = xsltSplitQName(ctxt->dict, curstr, &prefix) [all...] |
xsltInternals.h | 714 * name = { ncname }> 1031 * data-type = { "text" | "number" | qname-but-not-ncname } [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/schema/ |
atom10_build.xsd | 47 <xsd:attribute name="rel" type="xsd:NCName"/>
|
/external/webkit/LayoutTests/fast/dom/DOMImplementation/script-tests/ |
createDocument-namespace-err.js | 77 "NCName (but still a valid XML name, hence not INVALID_CHARACTER_ERR)" }, 81 "NCName (Gecko chooses to throw NAMESPACE_ERR here, but either is valid " +
|
/libcore/luni/src/main/java/javax/xml/namespace/ |
QName.java | 141 * <a href="http://www.w3.org/TR/REC-xml-names/#NT-NCName">NCName</a> 185 * <a href="http://www.w3.org/TR/REC-xml-names/#NT-NCName">NCName</a> 239 * <a href="http://www.w3.org/TR/REC-xml-names/#NT-NCName">NCName</a> 414 * <a href="http://www.w3.org/TR/REC-xml-names/#NT-NCName">NCName</a>
|
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
XSLTAttributeDef.java | 255 // Used for enumerated values, one of which could be a qname-but-not-ncname 258 // Used for the type of an attribute value that is a NCName 657 * Process an attribute string of that is either an enumerated value or a qname-but-not-ncname. 700 // enum not used. Validate qname-but-not-ncname. 711 enumNamesList.append(" <qname-but-not-ncname>"); 720 enumNamesList.append(" <qname-but-not-ncname>"); 729 enumNamesList.append(" <qname-but-not-ncname>"); [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/compiler/ |
XPathParser.java | [all...] |
/external/oprofile/doc/ |
opreport.xsd | 30 <xs:attribute name="cputype" type="xs:NCName" use="required"/> 31 <xs:attribute name="processor" type="xs:NCName" use="required"/>
|
/external/libxml2/ |
legacy.c | 435 * [NS 3] NCName ::= (Letter | '_') (NCNameChar)* 468 * [NS 6] Prefix ::= NCName 470 * [NS 7] LocalPart ::= NCName 502 * [NS 2] PrefixDef ::= 'xmlns' (':' NCName)? [all...] |
tree.c | 201 * @ncname: the Name 206 * Builds the QName @prefix:@ncname in @memory if there is enough space 208 * If prefix is NULL or empty it returns ncname. 211 * @memory and @ncname or NULL in case of error 214 xmlBuildQName(const xmlChar *ncname, const xmlChar *prefix, 219 if (ncname == NULL) return(NULL); 220 if (prefix == NULL) return((xmlChar *) ncname); 222 lenn = strlen((char *) ncname); 236 memcpy(&ret[lenp + 1], ncname, lenn); 250 * [NS 6] Prefix ::= NCName [all...] |
/external/smack/asmack-master/static-src/custom/com/kenai/jbosh/ |
QName.java | 215 * local part is a legal NCName per the XML Namespaces specification.
|
/external/smack/src/com/kenai/jbosh/ |
QName.java | 215 * local part is a legal NCName per the XML Namespaces specification.
|
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
NodeTest.java | 162 * The match score if the pattern pattern has the form NCName:*. 562 // "A node test can have the form NCName:*. In this case, the prefix 635 // "A node test can have the form NCName:*. In this case, the prefix
|
/external/apache-xml/src/main/java/org/apache/xalan/res/ |
XSLTErrorResources.java | 520 "processing-instruction name must be a valid NCName: {0}"}, [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/res/ |
XPATHErrorResources.java | 82 * 10) NCName is an XML term used to describe a name that does not contain a 676 // consists of an NCName followed by a colon and an asterisk or that consists 679 "A node test that matches either NCName:* or QName was expected."}, [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/ |
XPath.java | 626 * The match score if the pattern pattern has the form NCName:*.
|