I have 2 XSD files. DCL.xsd imports common.xsd.
I have DCL.xml. Now, I want to validate DCL.xml with DCL.xsd.
How can I achieve this?
How to validate XML against XSD which import another XSD
335 Views Asked by Majdi At
1
There are 1 best solutions below
Related Questions in XML
- Impose component restriction to a series of parsys-CQ
- Wrong xml being inflated android
- Shorten the XSD
- Writing/Overwriting to specific XML file from ASP.NET code behind
- Magento custom block. Can't get block's file
- Layout not shifting up when keyboard is open
- CSV to XML XSLT: How to quote excape
- Getting deeply embedded XML element values
- Saving FileSystemInfo Array to File
- how to apply templates within xsl:for-each
- Spring - configure Jboss Intros for xml with java config?
- Problems with implementing custom actionbar android
- Can Apache Ant be told to cache its XML files?
- Is Log4j2 xml configuration case sensitive?
- How to get a specific node value in XML Pull Parser
Related Questions in GROOVY
- spring-integration-dsl-groovy-http return null when i use httpGet method
- groovy xml namespace definition used in attribute value lost after XmlParse/serialize
- jenkins with groovy postbuild .Not able to execute anything in groovy script field
- How can I set the the expected Exception type for a catch statement with a parameter I've passed into a method?
- How to add quotes into sql where clause in Groovy script?
- integrating groovy with api
- java.util.ConcurrentModificationException on cloneEntity
- jenkins (or groovy) using pom.xml from previous execution
- How to use multiple classes in multiple files in scripts?
- How to work around Groovy's XmlSlurper refusing to parse HTML due to DOCTYPE and DTD restrictions?
- Workaround for lack of generators/yield keyword in Groovy
- Groovy's @CompileStatic and map constructors
- Java syntax to Groovy syntax
- Groovy TimeDuration Argument Types
- Elasticsearch : _score always 0 in Groovy script
Related Questions in XSD
- Shorten the XSD
- Custom XML Validator Factory
- XSD.exe Generating Classes with type Object instead of XSD defined type
- How to generate parameterized constructor for Type/Class from XSD
- Validate xml if any one element exists in a sequence xsd
- XML Validation with XML-Reader in PHP
- exception unmarshalling xml file using jaxb
- Building XSD for secific xml
- Restriction on elements depending on attributes in XSD 1.1
- XSD unique element XPath limitations
- Convert date type to string in jaxb using bindings
- How to validate xsd schema if it includes ohter schemas?
- .NET XmlSerializer and multidimensional arrays
- Java - Spring Ws - Loading Relative Includes in XSD files (Tomcat 8)
- XML validation: why is explicitly specifying a namespace not allowed in this case?
Related Questions in XSD-VALIDATION
- Custom XML Validator Factory
- XML Error while submitting _POST_ORDER_FULFILLMENT_DATA_ feed to Amazon MWS
- SOAPUI - missing message part with name - schema compliance error
- How to validate XML against XSD which import another XSD
- Validate XML element attribute value depending on child element attribute
- using xpath in xsd pattern matching?
- Complex XSDs comparison
- validate pipe-separated string in XSD
- XSD validation Error: s4s-elt-must-match error
- XSD for varying element names
- XML Schema 1.1 assertions: How to catch a dynamic type error?
- Is there a wildcard for elements in XMLSchema validation?
- XSD Validation Failed: Element has both a 'type' attribute and a 'anonymous type' child. Only one of these is allowed for an element
- Element Mandatory declaration in XSD Schema
- Should I be using XSD 1.1 to build an open standard?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
As long as
common.xsdis properly incorporated intoDCL.xsdusingxsd:includeorxsd:import, there is nothing extraordinary you have to do to validateDCL.xmlagainstDCL.xsd. Simply associateDCL.xmlwithDCL.xsdusing the usual methods such asschemaLocationornonamespaceSchemaLocation.