/macosx-10.10.1/ruby-106/ruby/lib/rexml/ |
H A D | xpath.rb | 9 # default empty namespaces set, but is currently unused. 10 # TODO: either set the namespaces=EMPTY_HASH, or deprecate this. 19 # namespaces:: 30 def XPath::first element, path=nil, namespaces=nil, variables={} 31 raise "The namespaces argument, if supplied, must be a hash object." unless namespaces.nil? or namespaces.kind_of?(Hash) 34 parser.namespaces = namespaces 47 # namespaces [all...] |
H A D | quickpath.rb | 10 # default empty namespaces set. 13 def QuickPath::first element, path, namespaces=EMPTY_HASH 14 match(element, path, namespaces)[0] 17 def QuickPath::each element, path, namespaces=EMPTY_HASH, &block 19 match(element, path, namespaces).each( &block ) 22 def QuickPath::match element, path, namespaces=EMPTY_HASH 25 Functions::namespace_context = namespaces
|
H A D | element.rb | 9 # An implementation note about namespaces: 10 # As we parse, when we find namespaces we put them in a hash and assign 15 @@namespaces = {} 37 # attributes, and namespaces will be copied. Children will +not+ be 192 # namespaces at this context node. 202 def namespaces method in class:REXML.Element 203 namespaces = {} 204 namespaces = parent.namespaces if parent 205 namespaces 1149 def namespaces method in class:Attributes [all...] |
/macosx-10.10.1/ruby-106/ruby/test/rexml/ |
H A D | test_jaxen.rb | 25 def test_namespaces ; test("namespaces") ; end 51 namespaces = {} 53 testCtx.prefixes.each { |pre| handleNamespace( testCtx, pre, namespaces ) } 57 XPath.each( ctxElement, "valueOf") { |e| handleValueOf(testCtx, variables, namespaces, e) } 58 XPath.each( ctxElement, "test[not(@exception) or (@exception != 'true') ]") { |e| handleNominalTest(testCtx,variables, namespaces, e) } 59 XPath.each( ctxElement, "test[@exception = 'true']") { |e| handleExceptionalTest(testCtx,variables, namespaces, e) } 63 def handleValueOf(ctx,variables, namespaces, valueOfElement) 65 got = XPath.match( ctx, valueOfElement.attributes["select"], namespaces, variables )[0] 88 def handleNominalTest(ctx, variables, namespaces, testElement) 90 got = XPath.match( ctx, testElement.attributes["select"], namespaces, variable [all...] |
/macosx-10.10.1/libxslt-13/libxslt/tests/ |
H A D | Makefile.am | 3 SUBDIRS=docs REC1 REC2 REC general namespaces keys numbers documents \
|
/macosx-10.10.1/tcl-105/tcl_ext/xotcl/xotcl/generic/ |
H A D | aol-xotcl.tcl | 18 # special namespaces. 25 _ns_getnamespaces namespaces 26 foreach n $namespaces {
|
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_manifest/lib/ |
H A D | SecureDownloadInternal.c | 24 CFDictionaryRef namespaces; // array of dictionaries of namespace declarations member in struct:parseState 245 // makes a copy of the current namespaces dictionary, adding in any 246 // namespaces defined by the current node. 247 static CFDictionaryRef copyNamespacesForNode(CFDictionaryRef namespaces, CFXMLNodeRef node) { argument 267 if (namespaces && type == kCFXMLNodeTypeElement && info->attributes && info->attributeOrder) { 268 result = CFDictionaryCreateMutableCopy(NULL, 0, namespaces); 269 } else if (namespaces) { 270 result = (CFMutableDictionaryRef)CFRetain(namespaces); 319 // based on the currently defined namespaces. 320 static void copyNodeNamespaceAndName(CFDictionaryRef namespaces, CFXMLNodeRe argument 379 CFDictionaryRef namespaces = copyNamespacesForNode(inNamespaces, node); local 531 CFDictionaryRef namespaces = copyNamespacesForNode(state->namespaces, node); local [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/incrtcl/incrTcl/itcl/tests/ |
H A D | namespace.test | 2 # Tests for classes within namespaces 24 # Classes within namespaces 26 test namespace-1.1 {same class name can be used in different namespaces} { 58 test namespace-1.2 {classes in different namespaces are different} {
|
/macosx-10.10.1/libxslt-13/libxslt/libxslt/ |
H A D | templates.c | 31 #include "namespaces.h" 48 * @nsList: the namespaces in scope 49 * @nsNr: the number of namespaces in scope 69 oldNamespaces = ctxt->xpathCtxt->namespaces; 73 ctxt->xpathCtxt->namespaces = nsList; 95 ctxt->xpathCtxt->namespaces = oldNamespaces; 107 * @nsNr: the number of namespaces in the list 108 * @nsList: the list of in-scope namespaces to use 132 oldNamespaces = ctxt->xpathCtxt->namespaces; 135 /* TODO: do we need to propagate the namespaces her [all...] |
H A D | variables.c | 848 oldXPNamespaces = xpctxt->namespaces; 878 xpctxt->namespaces = comp->inScopeNs->list; 881 xpctxt->namespaces = NULL; 885 xpctxt->namespaces = comp->nsList; 889 xpctxt->namespaces = NULL; 915 xpctxt->namespaces = oldXPNamespaces; 1103 oldXPNamespaces = xpctxt->namespaces; 1115 xpctxt->namespaces = comp->inScopeNs->list; 1118 xpctxt->namespaces = NULL; 1122 xpctxt->namespaces [all...] |
/macosx-10.10.1/apr-32/apr-util/apr-util/xml/ |
H A D | apr_xml.c | 205 ns_scope->ns = apr_xml_insert_uri(parser->doc->namespaces, quoted); 269 /* adjust all remaining attributes' namespaces */ 376 parser->doc->namespaces = apr_array_make(pool, 5, sizeof(const char *)); 379 apr_xml_insert_uri(parser->doc->namespaces, APR_KW_DAV); 645 apr_array_header_t *namespaces, int *ns_map) 662 for (i = namespaces->nelts; i--;) { 665 strlen(APR_XML_GET_URI_ITEM(namespaces, i)) + 1); 754 apr_array_header_t *namespaces, int *ns_map) 796 for (i = namespaces->nelts; i--;) { 798 APR_XML_GET_URI_ITEM(namespaces, 644 elem_size(const apr_xml_elem *elem, int style, apr_array_header_t *namespaces, int *ns_map) argument 753 write_elem(char *s, const apr_xml_elem *elem, int style, apr_array_header_t *namespaces, int *ns_map) argument 878 apr_xml_to_text(apr_pool_t * p, const apr_xml_elem *elem, int style, apr_array_header_t *namespaces, int *ns_map, const char **pbuf, apr_size_t *psize) argument 994 apr_array_header_t *namespaces; local [all...] |
/macosx-10.10.1/apr-32/apr-util/apr-util/include/ |
H A D | apr_xml.h | 117 ** All namespaces that are used will have a prefix assigned to 187 /** namespaces scoped by this elem */ 203 /** array of namespaces used */ 204 apr_array_header_t *namespaces; member in struct:apr_xml_doc 280 * @param namespaces The namespace of the current XML element 286 int style, apr_array_header_t *namespaces,
|
/macosx-10.10.1/libxml2-26/libxml2/ |
H A D | schematron.c | 140 int nbNs; /* the number of namespaces */ 145 int nbNamespaces; /* number of namespaces in the array */ 147 const xmlChar **namespaces; /* the array of namespaces */ member in struct:_xmlSchematron 194 int nbNamespaces; /* number of namespaces in the array */ 196 const xmlChar **namespaces; /* the array of namespaces */ member in struct:_xmlSchematronParserCtxt 404 ctxt->namespaces); 569 if (schema->namespaces != NULL) 570 xmlFree((char **) schema->namespaces); [all...] |
H A D | pattern.c | 185 const xmlChar **namespaces; /* the namespaces definitions */ member in struct:_xmlPatParserContext 186 int nb_namespaces; /* the number of namespaces */ 284 * @namespaces: the prefix definitions, array of [URI, prefix] terminated 293 const xmlChar **namespaces) { 309 if (namespaces != NULL) { 311 for (i = 0;namespaces[2 * i] != NULL;i++) 317 cur->namespaces = namespaces; 963 if (xmlStrEqual(ctxt->namespaces[ 292 xmlNewPatParserContext(const xmlChar *pattern, xmlDictPtr dict, const xmlChar **namespaces) argument 2358 xmlPatterncompile(const xmlChar *pattern, xmlDict *dict, int flags, const xmlChar **namespaces) argument [all...] |
H A D | testSAX.c | 889 const xmlChar **namespaces, 910 if (namespaces != NULL) { 913 if (namespaces[i] != NULL) 914 fprintf(stdout, ":%s", namespaces[i]); 916 fprintf(stdout, "='%s'", namespaces[i]); 884 startElementNsDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar **namespaces, int nb_attributes, int nb_defaulted, const xmlChar **attributes) argument
|
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/libxml2-src/ |
H A D | schematron.c | 140 int nbNs; /* the number of namespaces */ 145 int nbNamespaces; /* number of namespaces in the array */ 147 const xmlChar **namespaces; /* the array of namespaces */ member in struct:_xmlSchematron 194 int nbNamespaces; /* number of namespaces in the array */ 196 const xmlChar **namespaces; /* the array of namespaces */ member in struct:_xmlSchematronParserCtxt 404 ctxt->namespaces); 569 if (schema->namespaces != NULL) 570 xmlFree((char **) schema->namespaces); [all...] |
H A D | pattern.c | 182 const xmlChar **namespaces; /* the namespaces definitions */ member in struct:_xmlPatParserContext 183 int nb_namespaces; /* the number of namespaces */ 281 * @namespaces: the prefix definitions, array of [URI, prefix] terminated 290 const xmlChar **namespaces) { 306 if (namespaces != NULL) { 308 for (i = 0;namespaces[2 * i] != NULL;i++); 313 cur->namespaces = namespaces; 959 if (xmlStrEqual(ctxt->namespaces[ 289 xmlNewPatParserContext(const xmlChar *pattern, xmlDictPtr dict, const xmlChar **namespaces) argument 2354 xmlPatterncompile(const xmlChar *pattern, xmlDict *dict, int flags, const xmlChar **namespaces) argument [all...] |
H A D | testSAX.c | 889 const xmlChar **namespaces, 910 if (namespaces != NULL) { 913 if (namespaces[i] != NULL) 914 fprintf(stdout, ":%s", namespaces[i]); 916 fprintf(stdout, "='%s'", namespaces[i]); 884 startElementNsDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar **namespaces, int nb_attributes, int nb_defaulted, const xmlChar **attributes) argument
|
/macosx-10.10.1/libxml2-26/libxml2/include/libxml/ |
H A D | pattern.h | 56 const xmlChar **namespaces);
|
/macosx-10.10.1/libxslt-13/libxslt/python/ |
H A D | libxslt_wrap.h | 12 #include <libxslt/namespaces.h>
|
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/libxml2-src/include/libxml/ |
H A D | pattern.h | 56 const xmlChar **namespaces);
|
/macosx-10.10.1/CPANInternal-159.1/File-ExtAttr-1.09/lib/File/ |
H A D | ExtAttr.pm | 41 my @namespaces = listfattrns($fh); 43 foreach my $ns (@namespaces) 103 The primary namespaces are C<user> for user programs; 115 *BSD have two namespaces: C<user> and C<system>. 122 OS X has no support for namespaces. 126 Solaris has no support for namespaces. 315 Return an array containing the namespaces of attributes on the file named
|
/macosx-10.10.1/webdavfs-367/mount.tproj/ |
H A D | webdav_parse.c | 50 const xmlChar **namespaces, 59 const xmlChar **namespaces, 68 const xmlChar **namespaces, 77 const xmlChar **namespaces, 86 const xmlChar **namespaces, 383 const xmlChar **namespaces, 388 #pragma unused(prefix,URI,nb_namespaces,namespaces,nb_attributes,nb_defaulted,attributes) 658 const xmlChar **namespaces, 663 #pragma unused(prefix,URI,nb_namespaces,namespaces,nb_attributes,nb_defaulted,attributes) 683 const xmlChar **namespaces, 378 parser_opendir_create(void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar **namespaces, int nb_attributes, int nb_defaulted, const xmlChar **attributes) argument 653 parser_file_count_create(void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar **namespaces, int nb_attributes, int nb_defaulted, const xmlChar **attributes) argument 678 parser_stat_create(void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar **namespaces, int nb_attributes, int nb_defaulted, const xmlChar **attributes) argument 728 parser_statfs_create(void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar **namespaces, int nb_attributes, int nb_defaulted, const xmlChar **attributes) argument 775 parser_lock_create(void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar **namespaces, int nb_attributes, int nb_defaulted, const xmlChar **attributes) argument 816 parser_cachevalidators_create(void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar **namespaces, int nb_attributes, int nb_defaulted, const xmlChar **attributes) argument 850 parser_multistatus_create(void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar **namespaces, int nb_attributes, int nb_defaulted, const xmlChar **attributes) argument [all...] |
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/ |
H A D | Makefile | 40 SHOPT_NAMESPACE == 1 /* allow namespaces */
|
/macosx-10.10.1/CPANInternal-159.1/SOAP-Lite-1.11/t/ |
H A D | 01-core.t | 75 $serialized = SOAP::Serializer->namespaces({})->serialize($a); 106 $serialized = SOAP::Serializer->autotype(0)->namespaces({})->serialize($a); 122 $serialized = SOAP::Serializer->namespaces({})->serialize( 138 $serialized = SOAP::Serializer->namespaces({})->serialize( 150 ok($serialized =~ m!<namesp(\d+):c-gensym(\d+)(:? xsi:type="namesp\d+:ObjectType"| xmlns:namesp\d+="http://namespaces.soaplite.com/perl"| xmlns:namesp\1="some_urn"| xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"| xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"| xmlns:xsd="http://www.w3.org/2001/XMLSchema"){7}><a xsi:type="xsd:int">1</a></namesp\1:c-gensym\2>!);
|