Kunlin Yu
Kunlin Yu
After I set SchemaPropertyOrderHandling to Alphabetical, I think the JSchema.ToString() is stable. But if I leave SchemaPropertyOrderHandling to Default, it is unstable. ```C# JSchema schema = new JSchemaGenerator(){ SchemaPropertyOrderHandling =...
I think we should set SchemaLocationHandling to "Inline" instead of Definitions. Because according to: https://github.com/JamesNK/Newtonsoft.Json.Schema/blob/master/Src/Newtonsoft.Json.Schema/Generation/JSchemaGeneratorInternal.cs#L592 definitions will not sort by SchemaPropertyOrderHandling.Alphabetical. And this is just a workarround. I think SchemaPropertyOrderHandling.Alphabetical...
https://github.com/JamesNK/Newtonsoft.Json.Schema/blob/master/Src/Newtonsoft.Json.Schema/Generation/JSchemaGeneratorInternal.cs#L76 If I change this line: ```C# foreach (KeyValuePair definitionSchema in definitionsSchemas.OrderBy(s => s.Key)) ``` to ```C# foreach (KeyValuePair definitionSchema in definitionsSchemas.OrderBy(s => s.Key, StringComparer.Ordinal)) ``` The bug gone. But...
 I finish more tests. The result is: 1. For the webGL build, I can not change the order of "definitions" of schema by set the comparer...
https://github.com/unbroken-dome/gradle-xjc-plugin/blob/82c1d69e0de91d11a61ae6153f89491adafa3a84/build.gradle.kts#L65 https://github.com/unbroken-dome/gradle-xjc-plugin/blob/82c1d69e0de91d11a61ae6153f89491adafa3a84/src/main/kotlin/org/unbrokendome/gradle/plugins/xjc/XjcPlugin.kt#L42 And It is not configurable.
```groovy dependencies { implementation 'org.junit.jupiter:junit-jupiter:5.7.2' testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0' testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine' implementation 'org.wololo:jts2geojson:0.16.1' implementation 'org.locationtech.jts:jts-core:1.18.2' implementation 'org.locationtech.jts.io:jts-io-common:1.18.2' } ```
If I open the debug property like this: ```java @Test void CDT() throws ParseException { Properties properties = new Properties(); properties.setProperty("jts.debug", "on"); System.setProperties(properties); String bad_case = "POLYGON((-5.139864348491315 -1.8039338300053203,-4.432009282175666 -1.6631749878758058,-5.5365769064693575 -0.10992007721512209,-5.469725816735179...
 This is the image of the last line WKT of above debug log. It seems there is a dead loop their. Very interesting! But How can...
I set the tolerance to 1e-3 and the iteration stop before the upper bound ```private final static int MAX_SPLIT_ITER = 99;``` like this: ```java ConformingDelaunayTriangulationBuilder builder = new ConformingDelaunayTriangulationBuilder(); builder.setSites(polygon);...
same issue. Extension version: v1.1.6 VS Code version: Code 1.63.2 OS version: Ubuntu 20.04.3 package need to be install: NetTopologySuite