CVS Update: xmlpull-api-v1/src/java/tests/org/xmlpull/v1/tests

Aleksander Andrzej Slominski <[email protected]>
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
aslom       02/09/08 23:17:51

  Modified:    doc      properties.html
               src/java/tests/org/xmlpull/v1/tests TestMisc.java
                        UtilTestCase.java
  Log:
  fixed URL for XMLDecl properties that incoreectly referred features.html
  
  Revision  Changes    Path
  1.6       +4 -4      xmlpull-api-v1/doc/properties.html
  
  Index: properties.html
  ===================================================================
  RCS file: /l/extreme/cvspub/xmlpull-api-v1/doc/properties.html,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -t -w -r1.5 -r1.6
  --- properties.html	2002/09/09 01:36:41	1.5
  +++ properties.html	2002/09/09 04:17:51	1.6
  @@ -55,8 +55,8 @@
   <h3>
   <a name="xmldecl-standalone"></a>Optional property: XMLDECL STANDALONE</h3>
   <p>This feature is identified by
  -<a href="http://xmlpull.org/v1/doc/features.html#xmldecl-standalone">
  -http://xmlpull.org/v1/doc/features.html#xmldecl-standalone</a> </p>
  +<a href="http://xmlpull.org/v1/doc/properties.html#xmldecl-standalone">
  +http://xmlpull.org/v1/doc/properties.html#xmldecl-standalone</a> </p>
   <p>If <a href="http://xmlpull.org/v1/doc/features.html#process-docdecl">PROCESS 
   DOCDECL</a> feature is enabled it is REQUIRED property with Boolean otherwise it 
   is optional.</p>
  @@ -73,8 +73,8 @@
   <h3>
   <a name="xmldecl-standalone"></a>Optional property: XMLDECL CONTENT</h3>
   <p>This feature is identified by
  -<a href="http://xmlpull.org/v1/doc/features.html#xmldecl-content">
  -http://xmlpull.org/v1/doc/features.html#xmldecl-content</a></p>
  +<a href="http://xmlpull.org/v1/doc/properties.html#xmldecl-content">
  +http://xmlpull.org/v1/doc/properties.html#xmldecl-content</a></p>
   <p>If <a href="http://xmlpull.org/v1/doc/features.html#xml-roundtrip">XML 
   ROUNDTRIP</a> feature is enabled it is REQUIRED property with String otherwise 
   it is optional.</p>
  
  
  
  1.13      +4 -1      xmlpull-api-v1/src/java/tests/org/xmlpull/v1/tests/TestMisc.java
  
  Index: TestMisc.java
  ===================================================================
  RCS file: /l/extreme/cvspub/xmlpull-api-v1/src/java/tests/org/xmlpull/v1/tests/TestMisc.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -b -t -w -r1.12 -r1.13
  --- TestMisc.java	2002/09/09 01:36:41	1.12
  +++ TestMisc.java	2002/09/09 04:17:51	1.13
  @@ -288,9 +288,12 @@
   
   
           pp.setInput( new StringReader(
  -                        "<?xml  version=\"1.0\" \t encoding='UTF-8' \nstandalone='yes' ?><foo/>" ));
  +                        "<?xml  version=\"1.0\" \t encoding='UTF-8' \nstandalone='yes' ?>"
  +                            +"<!--comment--><foo/>" ));
           pp.require( pp.START_DOCUMENT, null, null);
           // make sure that XMLDecl is not reported
  +        pp.nextToken();
  +        pp.require( pp.COMMENT, null, null);
           pp.nextToken();
           pp.require( pp.START_TAG, null, "foo");
           pp.next();
  
  
  
  1.19      +2 -2      xmlpull-api-v1/src/java/tests/org/xmlpull/v1/tests/UtilTestCase.java
  
  Index: UtilTestCase.java
  ===================================================================
  RCS file: /l/extreme/cvspub/xmlpull-api-v1/src/java/tests/org/xmlpull/v1/tests/UtilTestCase.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -b -t -w -r1.18 -r1.19
  --- UtilTestCase.java	2002/09/09 01:36:41	1.18
  +++ UtilTestCase.java	2002/09/09 04:17:51	1.19
  @@ -22,9 +22,9 @@
       protected final static String PROPERTY_XMLDECL_VERSION =
           "http://xmlpull.org/v1/doc/properties.html#xmldecl-version";
       protected final static String PROPERTY_XMLDECL_STANDALONE =
  -        "http://xmlpull.org/v1/doc/features.html#xmldecl-standalone";
  +        "http://xmlpull.org/v1/doc/properties.html#xmldecl-standalone";
       protected final static String PROPERTY_XMLDECL_CONTENT =
  -        "http://xmlpull.org/v1/doc/features.html#xmldecl-content";
  +        "http://xmlpull.org/v1/doc/properties.html#xmldecl-content";
   
   
       protected final static String TEST_XML =
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.