Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compiler warning and non-UTF8 file #86

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion KissXML/DDXMLElement.m
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ - (NSArray *)elementsForLocalName:(NSString *)localName URI:(NSString *)uri
}
else
{
NSString *prefix;
NSString *realLocalName;

[DDXMLNode getPrefix:&prefix localName:&realLocalName forName:localName];
Expand Down
22 changes: 11 additions & 11 deletions KissXML/DDXMLNode.m
Original file line number Diff line number Diff line change
Expand Up @@ -700,8 +700,8 @@ - (DDXMLNode *)childAtIndex:(NSUInteger)index
/**
* Returns the previous DDXMLNode object that is a sibling node to the receiver.
*
* This object will have an index value that is one less than the receivers.
* If there are no more previous siblings (that is, other child nodes of the receivers parent) the method returns nil.
* This object will have an index value that is one less than the receiver's.
* If there are no more previous siblings (that is, other child nodes of the receiver's parent) the method returns nil.
**/
- (DDXMLNode *)previousSibling
{
Expand All @@ -722,8 +722,8 @@ - (DDXMLNode *)previousSibling
/**
* Returns the next DDXMLNode object that is a sibling node to the receiver.
*
* This object will have an index value that is one more than the receivers.
* If there are no more subsequent siblings (that is, other child nodes of the receivers parent) the
* This object will have an index value that is one more than the receiver's.
* If there are no more subsequent siblings (that is, other child nodes of the receiver's parent) the
* method returns nil.
**/
- (DDXMLNode *)nextSibling
Expand All @@ -745,7 +745,7 @@ - (DDXMLNode *)nextSibling
/**
* Returns the previous DDXMLNode object in document order.
*
* You use this method to walk backward through the tree structure representing an XML document or document section.
* You use this method to "walk" backward through the tree structure representing an XML document or document section.
* (Use nextNode to traverse the tree in the opposite direction.) Document order is the natural order that XML
* constructs appear in markup text. If you send this message to the first node in the tree (that is, the root element),
* nil is returned. DDXMLNode bypasses namespace and attribute nodes when it traverses a tree in document order.
Expand Down Expand Up @@ -799,7 +799,7 @@ - (DDXMLNode *)previousNode
/**
* Returns the next DDXMLNode object in document order.
*
* You use this method to walk forward through the tree structure representing an XML document or document section.
* You use this method to "walk" forward through the tree structure representing an XML document or document section.
* (Use previousNode to traverse the tree in the opposite direction.) Document order is the natural order that XML
* constructs appear in markup text. If you send this message to the last node in the tree, nil is returned.
* DDXMLNode bypasses namespace and attribute nodes when it traverses a tree in document order.
Expand Down Expand Up @@ -940,7 +940,7 @@ - (NSString *)XPath
* Returns the local name of the receiver.
*
* The local name is the part of a node name that follows a namespace-qualifying colon or the full name if
* there is no colon. For example, chapter is the local name in the qualified name acme:chapter.
* there is no colon. For example, "chapter" is the local name in the qualified name "acme:chapter".
**/
- (NSString *)localName
{
Expand All @@ -952,11 +952,11 @@ - (NSString *)localName
}

/**
* Returns the prefix of the receivers name.
* Returns the prefix of the receiver's name.
*
* The prefix is the part of a namespace-qualified name that precedes the colon.
* For example, acme is the local name in the qualified name acme:chapter.
* This method returns an empty string if the receivers name is not qualified by a namespace.
* For example, "acme" is the local name in the qualified name "acme:chapter".
* This method returns an empty string if the receiver's name is not qualified by a namespace.
**/
- (NSString *)prefix
{
Expand Down Expand Up @@ -1002,7 +1002,7 @@ - (void)setURI:(NSString *)URI
/**
* Returns the URI associated with the receiver.
*
* A nodes URI is derived from its namespace or a documents URI; for documents, the URI comes either from the
* A node's URI is derived from its namespace or a document's URI; for documents, the URI comes either from the
* parsed XML or is explicitly set. You cannot change the URI for a particular node other for than a namespace
* or document node.
**/
Expand Down