Giter Club home page Giter Club logo

pack's Issues

HDSC::HC32F460 package description violates the PACK.xsd schema

@hdscmcu

https://github.com/hdscmcu/pack/blob/master/HDSC.HC32F460.pdsc

Error: The 'date' attribute is invalid - The value '2019-06-5' is invalid according to its datatype 'http://www.w3.org/2001/XMLSchema:date' - The string '2019-06-5' is not a valid Date value. Line Number: 51 Line Position: 32

The value of the date must be corrected to 2019-06-05

Otherwise the import of this pack will fail and the updates will not be available for users.

Joachim Krech - Arm

Timestamp in pidx file does not follow pack schema

The timestamp in https://raw.githubusercontent.com/hdscmcu/pack/master/HDSC.pidx currently looks like:

2019-07-30:00:10.7300074+00:00

This does not follow the schema, which our tool checks.
According to https://www.w3schools.com/xml/schema_dtypes_date.asp and https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/rzasp/rzasp_xsdatetime.htm there should be a "T" separating the date and time, not a ":" and there is also either an hour or seconds field missing.

It should be something like:

2019-07-30T00:00:10.7300074+00:00

Schema failure on release date format

HDSC.HC32L110.pdsc
HDSC.HC32F003.pdsc
HDSC.HC32F005.pdsc

Schema Check fails on date: required format is: yyyy-mm-dd

<release version="..." date="2019-12-9">
need to read
<release version="..." date="2019-12-09">

HDSC::HC32F115 pack description file violates PACK.xsd schema file

@hdscmcu @levizh

https://github.com/hdscmcu/pack/blob/master/HDSC.HC32F115.pdsc

Error: The 'version' attribute is invalid - The value '1.0.0b' is invalid according to its datatype 'PackVersionType' - The Pattern constraint failed. Line Number: 19 Line Position: 18

Due to the earlier date, I guess this version is considered a pre-release / beta version?
In that case you need to follow semantic version schema and use 1.0.0-b or 1.0.0-beta the latter being more readable.

Note that this schema validation error prevents the pack version to be imported an listed in the public index. This means users are unable to download these packs.

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.