Beispiel #1
0
 public void BadElementPointer()
 {
     Pointer p = Pointer.Compile("element(1/33/foo)");
 }
Beispiel #2
0
 public void UnknownSchemePointer()
 {
     Pointer p = Pointer.Compile("xpath1(/foo) foo(abr)");
 }
Beispiel #3
0
 public void BadNCName()
 {
     Pointer p = Pointer.Compile("foo:bar");
 }
Beispiel #4
0
 public void CircumflexErrorTest()
 {
     Pointer p = Pointer.Compile("xmlns(p=http://fo^o.com)");
 }
Beispiel #5
0
 public void EscapingCircumflexTest()
 {
     Pointer p = Pointer.Compile("xmlns(p=http://foo.com^^)");
 }
Beispiel #6
0
        public void ParenthesisTest()
        {
            Pointer p = Pointer.Compile("xmlns(p=http://foo.com^))");

            p = Pointer.Compile("xmlns(p=http://foo.com^()");
        }
Beispiel #7
0
 public void SyntaxErrorTest()
 {
     Pointer p = Pointer.Compile("too bad");
 }