Changes

Jump to navigation Jump to search
515 bytes added ,  17:02, 24 August 2015
no edit summary
}
</pre>
|-
|}
| '''Errors'''
|{{Error|BXVA0002|#Errors}} the validation process cannot be started.<br/>{{Error|BXVA0003|#Errors}} no DTD Schema validator is available.
|-
| '''Examples'''
|
* The function call <code>validate:dtd-info(<invalid/>, '<!ELEMENT root (#PCDATA)>')</code> returns the string <code>2:11: Element type "invalid" must be declared.</code>:
|}
| '''Errors'''
|{{Error|BXVA0002|#Errors}} the validation process cannot be started.<br/>{{Error|BXVA0003|#Errors}} no DTD Schema validator is available.
|-
| '''Examples'''
|
* The function call <code>validate:dtd-report(<invalid/>, '<!ELEMENT root (#PCDATA)>')</code> returns the following XML report:
<pre class="brush:xml">
<report>
<status>invalid</status>
<message level="Error" line="2" column="11">Element type "invalid" must be declared.</message>
</report>
</pre>
|}
Bureaucrats, editor, reviewer, Administrators
13,551

edits

Navigation menu