[Wikidata-bugs] [Maniphest] [Commented On] T131235: wikibase:GlobecoordinateValue decimal representation not in lexical form in WDQS.

2016-04-19 Thread gerritbot
gerritbot added a comment.


  Change 284372 merged by jenkins-bot:
  Set pretty printing to false for RDF writer
  
  https://gerrit.wikimedia.org/r/284372

TASK DETAIL
  https://phabricator.wikimedia.org/T131235

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: gerritbot, TerraCodes, Christopher, Aklapper, Avner, Lewizho99, Maathavan, 
debt, Gehel, D3r1ck01, FloNight, Izno, jkroll, Smalyshev, Wikidata-bugs, 
Jdouglas, aude, Deskana, Manybubbles, Mbch331



___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T131235: wikibase:GlobecoordinateValue decimal representation not in lexical form in WDQS.

2016-04-03 Thread Christopher
Christopher added a comment.


  The PRETTY_PRINT setting of the TurtleWriter is set to "true" by default.  
This causes the writer to only write the literal "label" without the datatype.  
This affects boolean, decimal, integer and double literals.
  
  To fix make the following change (starting at line 623) in Munge.java:
  
final RDFWriter writer = Rio.createWriter(RDFFormat.TURTLE, lastWriter);
final WriterConfig config = writer.getWriterConfig();
config.set(BasicWriterSettings.PRETTY_PRINT, false);
handler = new PrefixRecordingRdfHandler(writer, prefixes);
  
  Other default config settings are:
  
config.set(BasicWriterSettings.RDF_LANGSTRING_TO_LANG_LITERAL, true);
config.set(BasicWriterSettings.XSD_STRING_TO_PLAIN_LITERAL, true);

TASK DETAIL
  https://phabricator.wikimedia.org/T131235

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Christopher
Cc: Christopher, Aklapper, Avner, debt, Gehel, D3r1ck01, FloNight, Izno, 
jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331



___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs