Ji icon indicating copy to clipboard operation
Ji copied to clipboard

Ji (戟) is an XML/HTML parser for Swift

Results 11 Ji issues
Sort by recently updated
recently updated
newest added

``` ld: warning: ignoring file /usr/local/Cellar/libxml2/2.9.10_1/lib/libxml2.dylib, building for iOS-arm64 but attempting to link with file built for macOS-x86_64 Undefined symbols for architecture arm64: Undefined symbol: _xmlXPathCmpNodes Undefined symbol: _xmlXPathEvalExpression ```

使用 Carthage 会遇到这样的问题

请问支持user-agent的设置吗?

Hi there, I'm newbie in Swift and for now I am facing this kind of issue. I tried various solutions which I found on StackOverflow, but errors did not disappeared....

Evaluating XPath strings fails if one of the elements is defined with XML namespace. Most of the frameworks offer a method to register namespaces but I found no way for...

enhancement

我之前用的是Kanna,运行都正常,但是有少许内存泄漏。 换Ji库后,macOS下运行很完美,但是相同代码到Linux上所有XPath都会报错。 XPath error : Invalid expression

``` let data = try? Data(contentsOf: URL(string: "http://m.263xs.com/info-83441/")!) let gbk = CFStringConvertEncodingToNSStringEncoding(CFStringEncoding(CFStringEncodings.GB_18030_2000.rawValue)) let string = String(data: data!, encoding: String.Encoding(rawValue: gbk)) // **it's OK!** let doc = Ji(data: data, encoding: String.Encoding(rawValue:...

Since Swift isn't ABI stable yet, the prebuilt binaries that Carthage gets from Github on the releases page are not working with the latest versions of XCode/Swift. Would recommend that...

question

Hey again :) I've been running into some issues trying to correctly decode the content of a specific page. The response header says it's utf-8, the page itself says is...

question