John Mercier

Results 30 comments of John Mercier

What I got to in the code is here. ![image](https://user-images.githubusercontent.com/7831184/236902372-4c293011-e3fe-4c0c-848a-b08f1fc42ab2.png) ValidationAssert is created with schemaSources but schema is null. Then when validate is called the sources should be populated in...

I have run into the same issue with using a default namespace. After checking the code I saw is used to create the document `setNamespaceAware(true)`. Then I got the idea...

Oof thanks for checking. I am still looking into using a docker container just for these tests. How would this feature be implemented?

Oh sorry I wasn't trying to push to get it done. I was wondering where to start.

Yes the way the code is generated removes the need for a bunch of methods in the client unlike the C client. The requests are classes that are passed the...

I would check the x11 server logs to see if there is anything helpful there. You can also compare the the java classes to the C library. There could be...

The problem is with ProtocolPluginService ``` if(plugin.getMajorVersion() != majorOpcode) { return false; //client must match server version } ``` I assumed this was a way to make sure the versions...

I started working on this in the fix-plugins branch. Now I am getting a LengthError. ``` LengthError(firstErrorOffset=0, sequenceNumber=34, badValue=0, minorOpcode=0, majorOpcode=-109) com.github.moaxcp.x11client.X11ErrorException: LengthError(firstErrorOffset=0, sequenceNumber=34, badValue=0, minorOpcode=0, majorOpcode=-109) at app//com.github.moaxcp.x11client.XProtocolService.readReply(XProtocolService.java:87) at...

I added a sync after the CreateContext request and that is the request causing the failure. From there I logged the request. Can you tell if the length is correct?...

Anything is possible but length is the error returned. I was just wondering what the length should be. Can you compare it to the length in rust? Or even compare...