I am currently reading about XML and Relax NG, and I found one question in one notebook which got me confused. The question is: "Explain an application where we have a situation that does not require input documents to be valid (for example against a RelaxNG schema, etc.) but instead merely well-formed.". Can anyone help? Thanks.
Input documents againts relax ng
196 Views Asked by scrapy At
1
There are 1 best solutions below
Related Questions in XML
- Postgres && statement Error in Mybatis Mapper?
- Sorting items after building an XML feed?
- C# XML ModelBinding - ASP.NET Core 8 Web API - required field not found
- How can I create an automatic table of contents in docx without the text being bold?
- Odoo 16 Make Fields Readonly Using XPath
- Using similar tags for different objects in XML
- Android Studio problem like gradle sync project failed and plugin error, version 2023.2.1 Iguana
- error: cannot find symbol View root = inflater.inflate(R.layout.toolbar, parent, false);
- Android camera application restriction to 12 mp
- Azure Data Factory Copy Activity Only Importing First Row of XML file
- I am not able to remove space below the navigation view icon in android studio. What;s wrong with code?
- Field can be converted to a local variable ,convert field to local variable in onCreate method
- Deserialize XML with optional different name
- Retrieve tags from xml using python
- Getting attribute from xml and printing it error
Related Questions in RELAXNG
- Validating XML file with RelaxNG
- Is this a valid RELAX NG model? I'm getting " Relax-NG validity error : Invalid sequence in interleave"
- confusing messages about `type` from xmllint when trying RELAX NG pattern facet
- How to define a type with enumerated strings in RELAX NG?
- How to model `( A | B | C )*` (arbitrary selection of given elements) in RELAX NG?
- Validate XML with RNG in PHP
- How to find the root cause of "Element odoo has extra content: data"
- Validating XML with RelaxNG and SAX
- RELAX NG validation - how to allow a universal attribute
- RelaxNG: Having more than one of a similar element in <interleave>
- How to generate Java classes from RELAX NG schema
- YANG to Java for subsequent XML serialization/deserialization?
- Transform RNG using XSLT 1.0
- What is the relationship between RELAX NG and Schematron wrt DocBook?
- Schematron Assert rule embedded in RelaxNG produces undeclared namespace prefix error
Related Questions in RELAXNG-COMPACT
- Validating XML file with RelaxNG
- Mixing data(types) and elements in Relax NG
- What is precedence order in relaxng compact notation?
- Input documents againts relax ng
- Generating XSD from RelaxNG while keeping root-element restriction
- RelaxNG (compact) validation
- How to add new meta-property values in rdfa.rnc
- Need help grasping RelaxngValidatingReader in Commons.Xml.Relaxng
- What if a sub element is used by two other independent elements when using RELAX NG Compact?
- Interleave In RNC
- HTML5 RNC- datatype library "http://whattf.org/datatype-draft" not recognized
- Control attribute values order in RelaxNG
- convert relaxng file that include reference to another relax ng file to xsd
- Should I rewrite the table or can I run multiple iterators on this? XQuery
- How to ignore html in an xml element when validating with relaxng compact
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?
RELAX NG is a schema language for XML documents. You can use it to specify how a given XML document must be structured. E.g. you could create a RELAX NG schema to specify how to store customer data in XML files, which could include rules that require a name and address for each customer, and allow for (but not require) a customer phone number. An XML document that follows the rules laid out in such a schema is said to be valid (against that particular schema).
Well-formedness is a much more basic requirement, and just means that the XML document follows the rules of the XML format itself. Making sure your XML documents are well-formed ensures that they can be read by any XML parser, and validated against any XML schema.
Schema validation becomes especially important if you e.g. collect XML documents from external and/or multiple sources and want to make sure that these documents can all be processed with the same computer code. If you generate XML documents yourself with one tool and process them yourself with another, you might not benefit much from a schema, but you still want these documents to be well-formed to make them parsable with standard XML tools.