Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 954 for Xml (0.06 seconds)

  1. docs/sts/client_grants/sts_element.py

            """Initialize STSElement from name and XML string data.
    
            :param name: Name for XML data. Used in XML errors.
            :param data: string data to be parsed.
            :return: Returns an STSElement.
            """
            try:
                return cls(root_name, cElementTree.fromstring(data))
            except _ETREE_EXCEPTIONS as error:
                raise InvalidXMLError(
                    '"{}" XML is not parsable. Message: {}'.format(
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

    import org.dbflute.optional.OptionalEntity;
    import org.xml.sax.Attributes;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    import org.xml.sax.helpers.DefaultHandler;
    
    /**
     * Parser for Google Search Appliance (GSA) configuration files.
     * This SAX-based parser reads GSA XML configuration files and converts them into
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  3. internal/event/arn.go

    	}
    
    	return "arn:minio:sqs:" + arn.region + ":" + arn.TargetID.String()
    }
    
    // MarshalXML - encodes to XML data.
    func (arn ARN) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
    	return e.EncodeElement(arn.String(), start)
    }
    
    // UnmarshalXML - decodes XML data.
    func (arn *ARN) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	var s string
    	if err := d.DecodeElement(&s, &start); err != nil {
    		return err
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

        }
    
        // Test loadDataStoreNameList with valid XML
        @Test
        public void test_loadDataStoreNameList_validXml() throws Exception {
            // Create test JAR with valid XML
            final File jarFile = new File(tempDir, "test-datastore.jar");
            createTestJarWithXml(jarFile,
                    "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + "<components>\n"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  5. internal/bucket/versioning/versioning.go

    type Versioning struct {
    	XMLNS   string   `xml:"xmlns,attr,omitempty"`
    	XMLName xml.Name `xml:"VersioningConfiguration"`
    	// MFADelete State    `xml:"MFADelete,omitempty"` // not supported yet.
    	Status State `xml:"Status,omitempty"`
    	// MinIO extension - allows selective, prefix-level versioning exclusion.
    	// Requires versioning to be enabled
    	ExcludedPrefixes []ExcludedPrefix `xml:",omitempty"`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  6. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            persistedToolchains.setToolchains(Collections.singletonList(toolchain));
    
            String xml = new DefaultToolchainsXmlFactory().toXmlString(persistedToolchains.getDelegate());
            ToolchainsBuildingRequest request = new DefaultToolchainsBuildingRequest();
            request.setUserToolchainsSource(new StringSource(xml));
    
            ToolchainsBuildingResult result = toolchainBuilder.build(request);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 14K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

         * This method searches for 'fess_ds++.xml' configuration files within JAR files
         * in the data store plugin directory and extracts component class names.
         *
         * <p>The method uses secure XML parsing features to prevent XXE attacks and
         * other XML-based vulnerabilities. Component class names are extracted from
         * the 'class' attribute of 'component' elements in the XML files.</p>
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. internal/bucket/lifecycle/transition_test.go

    		{
    			input: `<Transition>
    			<Days>1</Days>
    		  </Transition>`,
    			err: errXMLNotWellFormed,
    		},
    	}
    
    	for i, tc := range trTests {
    		var tr Transition
    		err := xml.Unmarshal([]byte(tc.input), &tr)
    		if err != nil {
    			t.Fatalf("%d: xml unmarshal failed with %v", i+1, err)
    		}
    		if err = tr.Validate(); err != tc.err {
    			t.Fatalf("%d: Invalid transition %v: err %v", i+1, tr, err)
    		}
    	}
    
    	ntrTests := []struct {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 01 18:58:17 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java

         */
        public static Map<Path, Document> discoverPoms(Path startDirectory) throws IOException, DomTripException {
            Map<Path, Document> pomMap = new HashMap<>();
    
            // Find and load the root POM
            Path rootPomPath = startDirectory.resolve(POM_XML);
            if (!Files.exists(rootPomPath)) {
                throw new IOException("No pom.xml found in directory: " + startDirectory);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/xml/SchemaFactoryUtil.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.xml;
    
    import javax.xml.XMLConstants;
    import javax.xml.validation.SchemaFactory;
    
    import org.codelibs.core.log.Logger;
    
    /**
     * Utility class for {@link SchemaFactory}.
     *
     * @author koichik
     */
    public abstract class SchemaFactoryUtil {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top