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
197 Views Asked by scrapy At
1
There are 1 best solutions below
Related Questions in XML
- Electron default app doesn't change
- Context menu click/open event with Atom Shell/Electron?
- How to use the <webview> methods in Electron
- Execute createShortcut in a Squirrel event, in an Electron app
- How to watch files in Electron App?
- How to pass command line argument in electron
- ERROR: when installing electron?
- Error messages and console logs in Electron?
- Electron (atom shell) window getting closed on its own after some time
- How to pass the data from one js file to another react.js file
Related Questions in RELAXNG
- Electron default app doesn't change
- Context menu click/open event with Atom Shell/Electron?
- How to use the <webview> methods in Electron
- Execute createShortcut in a Squirrel event, in an Electron app
- How to watch files in Electron App?
- How to pass command line argument in electron
- ERROR: when installing electron?
- Error messages and console logs in Electron?
- Electron (atom shell) window getting closed on its own after some time
- How to pass the data from one js file to another react.js file
Related Questions in RELAXNG-COMPACT
- Electron default app doesn't change
- Context menu click/open event with Atom Shell/Electron?
- How to use the <webview> methods in Electron
- Execute createShortcut in a Squirrel event, in an Electron app
- How to watch files in Electron App?
- How to pass command line argument in electron
- ERROR: when installing electron?
- Error messages and console logs in Electron?
- Electron (atom shell) window getting closed on its own after some time
- How to pass the data from one js file to another react.js file
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 # Hahtags
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.