← Back to team overview

credativ team mailing list archive

[Bug 900188] Re: relaxng validation problems

 

Hello Viktarnagy,

I have traced your problem, the problem comes up from line number 70 of
mrp_routing_view.xml which editable="botton" it should be
editable="bottom".

For these type of mistake we can seen the "except_osv: ('ValidateError',
u'Error occurred while validating the field(s) arch: Invalid XML for
View Architecture!')" this error. So user can understand that he/she
might a mistake in xml view.

Now comes up for your point of "unreasonable error messages".
Programmer can take care of about it, so its not a big deal because technical person can understand this matters.
If you are typing invalid syntax, then it always creates a problem.

I didn't think it's unreasonable, If you use OpeERP API then we have
syntax and for bad syntax all error are reasonable. If we will store
wrong view like this db then in future whenever this will be used will
give error.

So I am not considering this as a bug.

Hope you can understand this.

Thanks

** Changed in: openobject-server
       Status: New => Invalid

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/900188

Title:
  relaxng validation problems

Status in Avanzosc OpenERP modules:
  New
Status in OpenERP Server:
  Invalid

Bug description:
  I've tried to install the avanzosc manufacturing addons under 6.1, and
  got some unreasonable error messages:

  [2011-12-01 04:21:34,372][stonemine] ERROR:init:<string>:15:0:ERROR:RELAXNGV:RELAXNG_ERR_NOELEM: Expecting an element field, got nothing
  ...
  [2011-12-01 04:21:34,372][stonemine] ERROR:init:<string>:15:0:ERROR:RELAXNGV:RELAXNG_ERR_EXTRACONTENT: Element field has extra content: tree
  [2011-12-01 04:21:34,372][stonemine] ERROR:init:<string>:10:0:ERROR:RELAXNGV:RELAXNG_ERR_EXTRACONTENT: Element page has extra content: separator
  [2011-12-01 04:21:34,372][stonemine] ERROR:init:<string>:8:0:ERROR:RELAXNGV:RELAXNG_ERR_CONTENTVALID: Element notebook failed to validate content

  the ... hide a line that is reasonable as per the relaxng format (as
  far as I could understand it)

  to check it try to install mrp_master_extension from
  https://code.launchpad.net/~manufacturing-
  team/avanzosc/manufacturing-6.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/avanzosc/+bug/900188/+subscriptions


References