Giter Site home page Giter Site logo

Comments (8)

jbobzin-insyde avatar jbobzin-insyde commented on July 22, 2024

ECMA spec at https://www.ecma-international.org/ecma-262/5.1/#sec-15.9.1
states in 15.9.1.15 that reduced strings are acceptable, namely YYYY-MM-DDTHH:mm
and full string YYYY-MM-DDTHH:mm:ss.sssZ is not required.

But Redfish section 6.5.4.5.1 does seem to indicate .SSS is optional but Z plus offset is required.

So are most of the public mockups wrong?

from redfish-service-validator.

tomasg2012 avatar tomasg2012 commented on July 22, 2024

I've noticed this error come and go from time to time, but the regex pattern I use hasn't changed, and is based on what the spec provides, if I recall. There is currently an issue on DMTF/spmf on the mockups and their validation issues, which includes some of these errors.

from redfish-service-validator.

tomasg2012 avatar tomasg2012 commented on July 22, 2024

Should this require a more relaxed regex?

from redfish-service-validator.

jbobzin-insyde avatar jbobzin-insyde commented on July 22, 2024

Yes, I am pretty sure this is a mockup error. I did not see this specifically mentioned in the issue you created.

If nobody contradicts I will close.

from redfish-service-validator.

jbobzin-insyde avatar jbobzin-insyde commented on July 22, 2024

The tool is following the English text of the spec, the mockups are not.

from redfish-service-validator.

jbobzin-insyde avatar jbobzin-insyde commented on July 22, 2024

But the spec text seems to create a redundant situation because LogService has DateTimeLocalOffset.

But this other field is R/W and could change I guess.

from redfish-service-validator.

mraineri avatar mraineri commented on July 22, 2024

At least the way I'm interpreting the spec, I also think our mockups are wrong. I think we should discuss this in the next meeting.

from redfish-service-validator.

jbobzin-insyde avatar jbobzin-insyde commented on July 22, 2024

moved issue to spmf

from redfish-service-validator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.