清单2:使用eval来捕获错误。
xml验证的目的是捕获错误的确切类型。
The purpose of XML validation is to catch exactly those kinds of errors.
一些设计来捕获错误的条款限制了适用性的范围。
Some provisions designed to catch errors limit range of applicability.
So actually, the problem with static semantics is you'd like it to catch everything, you don't always get it.
因此实际上,你希望静态语义检查,能捕获所有的错误,但是经常结果不是这样的。
Not everything is going to get caught in static semantics checking.
并不是所有的错误,都会在静态语义检查中被捕获。
应用推荐