Apache OpenOffice (AOO) Bugzilla – Issue 38662
RNG: bad value for attribute "start-shape"; bad value for attribute "end-shape"
Last modified: 2005-02-01 14:07:45 UTC
Connector specification has a problem in RNG OASIS Draft #22 - or the implementation.
Created attachment 20263 [details] Connectors in a Drawing document
cc'ing CGU and MIB and please send the issue back to CGU because it is his area, not mine. I have just tested some CWS:IMPRESS17 issues for him....
whole error message: java -jar ~/q_testtool/tools/jing/bin/jing.jar -i ~/q_testtool/tools/oasis/office-strict-schema-1.0-draft-22.rng content.xml /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:3149: error: bad value for attribute "id" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:3329: error: bad value for attribute "id" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:3762: error: bad value for attribute "start-shape" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:3762: error: bad value for attribute "end-shape" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:4031: error: bad value for attribute "start-shape" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:4031: error: bad value for attribute "end-shape" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:4300: error: bad value for attribute "start-shape" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:4300: error: bad value for attribute "end-shape" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:4570: error: bad value for attribute "start-shape" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:4570: error: bad value for attribute "end-shape" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:4859: error: bad value for attribute "start-shape" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:4859: error: bad value for attribute "end-shape" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:5146: error: bad value for attribute "start-shape" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:5146: error: bad value for attribute "end-shape" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:5432: error: bad value for attribute "start-shape" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:5432: error: bad value for attribute "end-shape" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:5720: error: bad value for attribute "start-shape" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:5720: error: bad value for attribute "end-shape" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:6007: error: bad value for attribute "start-shape" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" /home/js93788/.staroffice8/user/work/draw/connectors/content.xml:2:6007: error: bad value for attribute "end-shape" from namespace "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
problem was that I created pure integer ids for shapes. RelaxNG id must not start with a numeric character. this is fixed now, all ids are prefixed with id. Since on import we just use strings for ids, this is even backward compatible.
reopened to send back to qa
send back to qa
set back to fixed
Loading/Saving attached bugdoc with CWS version and NO errors anymore with draft #22.
ok in m75