Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Added documentation for the schema command method validatechannel.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | schema
Files: files | file ages | folders
SHA3-256: 1774aef03a3e0e82b00319622a6f1938705a595a10bcc4fbd0ca71a4fcfee68d
User & Date: rolf 2020-01-03 00:52:20
Context
2020-01-05
00:15
Added schema command subcommand method info typedefinition to query defelementtype definition details. check-in: 81cd49d4ec user: rolf tags: schema
2020-01-03
00:52
Added documentation for the schema command method validatechannel. check-in: 1774aef03a user: rolf tags: schema
2020-01-02
02:19
Added schema command validatechannel, which reads the data stream to validate from a tcl channel. check-in: c5bd39ed92 user: rolf tags: schema
Changes

Changes to doc/schema.xml.

179
180
181
182
183
184
185













186
187
188
189
190
191
192
        and the optional <m>objVar</m> argument is given, then the
        variable with that name is set to a validation error message.
        If the XML string is valid and the optional <m>objVar</m>
        argument is given, then the variable with that name is set to
        the empty string.</desc>
      </commanddef>














      <commanddef>
        <command><method>domvalidate</method> <m>domNode</m> <m>?objVar?</m></command>
        <desc>Returns true if the first argument is a valid tree or
        false otherwise. If validation failed and the optional
        <m>objVar</m> argument is given, then the variable with that
        name is set to a validation error message. If the dom tree is
        valid and the optional <m>objVar</m> argument is given, then







>
>
>
>
>
>
>
>
>
>
>
>
>







179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
        and the optional <m>objVar</m> argument is given, then the
        variable with that name is set to a validation error message.
        If the XML string is valid and the optional <m>objVar</m>
        argument is given, then the variable with that name is set to
        the empty string.</desc>
      </commanddef>

      <commanddef>
        <command><method>validatechannel</method> <m>channel</m> <m>?objVar?</m></command>
        <desc>Returns true if the content read ouf of the tcl channel
        <m>channel</m> is valid or false otherwise. Since data read
        out of a tcl channel is UTF-8 encoded any misleading encoding
        declaration at the beginning of the data will lead to errors.
        If the validation failed and the optional <m>objVar</m>
        argument is given, then the variable with that name is set to
        a validation error message. If the XML string is valid and the
        optional <m>objVar</m> argument is given, then the variable
        with that name is set to the empty string.</desc>
      </commanddef>
      
      <commanddef>
        <command><method>domvalidate</method> <m>domNode</m> <m>?objVar?</m></command>
        <desc>Returns true if the first argument is a valid tree or
        false otherwise. If validation failed and the optional
        <m>objVar</m> argument is given, then the variable with that
        name is set to a validation error message. If the dom tree is
        valid and the optional <m>objVar</m> argument is given, then