You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Jacob Danner (JIRA)" <xm...@xml.apache.org> on 2004/11/18 20:21:28 UTC

[jira] Closed: (XMLBEANS-41) Documentation error

     [ http://nagoya.apache.org/jira/browse/XMLBEANS-41?page=history ]
     
Jacob Danner closed XMLBEANS-41:
--------------------------------


New Link:
http://xmlbeans.apache.org/docs/guide/conUsingBookmarksToAnnotateXML.html
Code sample is as it should be, with thisBookmark as the parameter to setBookmark()

> Documentation error
> -------------------
>
>          Key: XMLBEANS-41
>          URL: http://nagoya.apache.org/jira/browse/XMLBEANS-41
>      Project: XMLBeans
>         Type: Bug
>     Reporter: Cameron Braid
>     Priority: Trivial
>      Fix For: unspecified

>
> http://xml.apache.org/xmlbeans/docs/guide/conUsingBookmarksToAnnotateXML.html
> The code sample should be
>     XmlCursor orderCursor = xmlDoc.newCursor();
>     OrderBookmark thisBookmark = new OrderBookmark("foo");
>     orderCursor.setBookmark(thisBookmark);
> instead of 
>     XmlCursor orderCursor = xmlDoc.newCursor();
>     OrderBookmark thisBookmark = new OrderBookmark("foo");
>     orderCursor.setBookmark(thisAnnotation);
> I am picky hey ;)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org