Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present
- All source *.st files are now Unicode UTF8 without BOM
Files are in two groups (fileOut works this way in Smalltalk/X):
- containing a unicode character have "{ Encoding: utf8 }" at the header
- ASCII only are without the header
"{ Package: 'stx:goodies/xmlsuite/xpath' }"
"{ NameSpace: XMLv2 }"
Object subclass:#XPathContext
instanceVariableNames:'node position contextSize documentAdaptor'
classVariableNames:''
poolDictionaries:''
category:'XML Suite-XPath'
!
!XPathContext methodsFor:'accessing'!
contextSize
^ contextSize
!
contextSize:something
contextSize := something.
!
documentAdaptor
^ documentAdaptor
"Created: / 13-10-2006 / 17:30:38 / janfrog"
!
documentAdaptor: anXPathDocumentAdaptor
documentAdaptor := anXPathDocumentAdaptor.
"Created: / 13-10-2006 / 17:31:04 / janfrog"
!
newNodeSet
^XPathNodeSet new documentAdaptor:self documentAdaptor.
"Created: / 13-10-2006 / 20:39:40 / janfrog"
!
newNodeSetWith: anObject
^self newNodeSet
add: anObject;
yourself
"Created: / 13-10-2006 / 20:41:14 / janfrog"
!
newNodeSetWithAll: aCollection
^self newNodeSet
addAll: aCollection;
yourself
"Created: / 13-10-2006 / 20:43:23 / janfrog"
!
node
^ node
!
node:something
node := something.
!
position
^ position
!
position:something
position := something.
! !
!XPathContext class methodsFor:'documentation'!
version
^ '$Header: /opt/data/cvs/stx/goodies/xmlsuite/xpath/XMLv2__XPathContext.st,v 1.2 2006-10-14 05:42:04 vranyj1 Exp $'
! !