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

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