我们将面对xml库问题,如验证、模式和api模型。
We'll confront XML library issues like validation, schemas, and API models.
可视化选项卡还提供了一些验证,如验证指定给某个简单类型的值是否有效。
The visual tab also provides some validation such as verifying whether the value assigned to a simple type is valid.
还讨论了Zend框架的一些表单处理功能,如验证数据和清除提要条目等。
You also discussed some of the Zend Framework's form-handling capabilities, validating data, and sanitizing feed items.
这些电话系统将电话机上的按键变成数据录入机构,用于完成标准化的电话送入数据库,如验证一个帐户的收支是否平衡。
These are phone systems where the keypad becomes the data-entry mechanism for performing standardized calls into a database, such as verifying the balance of an account.
两个值很容易分离,而且都可以用解析器验证,如清单7所示。
Each is easily separated, and each can be validated by the parser, as in Listing 7.
最后是强身份验证,其中使用两种或者更多的方法对一个标识进行验证,如密码和加密密钥。
Finally, there is strong authentication in which an identity is verified using two or more methods, such as a password and a cryptographic key.
可将资源转移至死亡率监测工作的其他部分,如死亡率验证。
Resources could be better diverted to other parts of the mortality surveillance process, such as validation.
有两个方法验证字符串,如清单3所示。
Two methods validate strings, as the code in Listing 3 shows.
文本框的验证代码如清单1。
对于改为使用新功能(如xmlnsc域中的新XML模式验证)的用户,还提供了进一步改进。
Further improvements are available for those who change to use new function such as the new XML schema validation available with the XMLNSC domain.
清单2仅仅注册了一个DefaultHandler对象,该对象只是在控制台上打印验证错误,如清单3所示。
Listing 2 only registers a DefaultHandler object that simply prints validation errors on the console, as shown in Listing 3.
如您所料,要打开验证,只需要把true传递给该方法。
As you might expect, to turn on validation, you supply the value true for this method.
您可以使用ec2 - describe - snapshots命令验证快照状态,如清单10所示。
You can verify the status of the snapshot with the ec2-describe-snapshots command, as in Listing 10.
对它进行验证和定义,如 清单13 所示。
需要指出的是,其他一些方面的问题如授权与验证等在这篇文章里没有涉及。
It should be noted that aspects such as authorisation and authentication are not dealt with in this article.
对于常见的验证问题,如电子邮件验证,这种方法可以支持这样一种设计理念,即代码重用和一致的应用程序行为是最重要的。
For common validation concerns, such as E-mail validation, this approach can support design philosophies where code re-use and consistent application behavior are of utmost importance.
由于此目的不能通过使用内置验证器实现,所以需要编写一个定制的验证器,如清单13所示。
Because this can't be achieved using a built-in validator, you must write a custom validator, as shown in Listing 13.
因此,架构师经常还希望利用现有的安全机制,如源系统的身份验证和授权。
As a consequence, architects often intend to also leverage existing security mechanisms such as authentication and authorization of the source systems.
此命令可确保在此数据库上专门设置的属性(如身份验证要求)不被整个系统配置中的其他值否决。
This command makes sure that any properties specifically set on this database, such as authentication requirements, aren't overruled by other values in the overall system configurations.
另一方面,这也是一个发现编辑错误的好机会,如清单1那样,因此,验证程序发出一条警告信息。
On the other hand, the chances are pretty good that this condition is an authoring error, like the one in Listing 1, and so the validator spits out a warning.
验证nfs服务已经打开,如清单3所示。
Verify that NFS service is turned on, as shown in Listing 3.
我们曾经说过,根据XML规范,验证处理程序(如xerces2)必须处理外部和内部dtd子集。
As we discussed, according to the XML specification a validating processor (such as Xerces2) must process both the internal and external DTD subsets.
请通过输入此命令来验证您的配置值,如清单3所示。
Verify your configuration values by entering this command, also shown in Listing 3.
现在,运行测试来验证它是否会通过,如清单7 所示
Now, run the test to verify that it passes, as shown in Listing 7
Header包含了对处理调用非常有用的附加信息,如安全、验证、会话信息或者其他任何有用的信息。
The header contains additional information that is useful in processing the call, such as security, authentication, session information, or any other useful data.
除了对接口架构的验证以外,如果任何断言已经通过原语(如setmessagetype原语)产生,那么也要对这些断言进行验证。
In addition to validation against the interface schema, if any assertions have occurred via primitives such as a SetMessageType primitive, then these assertions will also be validated.
最后会加进如请求验证、安全GateKeepers与数据校验等约束。
Finally, constraints are applied such as request throttles, security GateKeepers and data validation.
相应地,我可以编写测试用例来验证XMLUnit的行为,如清单6所示。
Accordingly, I can write a test case to verify XMLUnit's behavior, as shown in Listing 6.
相应地,我可以编写测试用例来验证XMLUnit的行为,如清单6所示。
Accordingly, I can write a test case to verify XMLUnit's behavior, as shown in Listing 6.
应用推荐