Skip to content

Commit

Permalink
Rearranged licence, readme and notice files
Browse files Browse the repository at this point in the history
  • Loading branch information
SolidsoftReplyDevelopment committed Jul 1, 2024
1 parent 4da2022 commit 214994b
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 261 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2018-2024 Solidsoft Reply Ltd.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
47 changes: 42 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,45 @@
# Solidsoft Reply GS1 Validating Parser
The Solidsoft Reply parser for GS1 Application Identifiers is a comprehensive validating parser that conforms to the GS1 General Specifications and parses strings containing a concatenation of AIs /value pairs using ASCII 29 as the FNC1 delimiter.

GS1 defines AIs as part of its general specifications. See [GS1 General Specifications - Standards | GS1]( https://www.gs1.org/standards/barcodes-epcrfid-id-keys/gs1-general-specifications)
This library provides a comprehensive validating parser for GS1 Application Identifiers (AIs). GS1 defines AIs as part of its general specifications. See [GS1 General Specifications - Standards | GS1]( https://www.gs1.org/standards/barcodes-epcrfid-id-keys/gs1-general-specifications)
The parser validates each AI against the format defined for that AI. It calls back into an Action for each AI reported to it. For each AI, parsed data is reported as a Resolved Entity object. Each Resolved Entity includes a collection of all errors reported while parsing the AI.
The library depends on the Solidsoft.Reply.Parsers.Common library.

This solution contains two projects - the parser itself, and a set of tests. Further information is provided in project-level read-me files and the Wiki.
## Validation Errors:
For each invalid AI, the parser may output a combination of one or more errors.

The following validation errors are supported:

2001
No data provided.

2002
Invalid application identifier {0}.

2003
Entity is incorrectly terminated with an FNC1.

2004
Fixed-width entity does not contain sufficient number of characters.

2005
The value{0} is invalid for AI {1}.

2006
No entity value provided for AI {0}.

2007
Validation for AI {0} timed out.

2008 - GS1 identifiers whose last digit is checksum
The value{0} has an invalid checksum.

2009 - GS1 identifiers with a checksum at position 13 followed by optional text
The value{0} has an invalid checksum.

2010 - GS1 identifiers with a checksum at position 14 followed by optional text
The value{0} has an invalid checksum.

2011
The implied decimal point position (inverse exponent) is specified incorrectly.

2100
The value{0} does not match the specified pattern for the data element.

201 changes: 0 additions & 201 deletions Solidsoft.Reply.Parsers.Gs1Ai/LICENSE.txt

This file was deleted.

45 changes: 0 additions & 45 deletions Solidsoft.Reply.Parsers.Gs1Ai/README.md

This file was deleted.

21 changes: 13 additions & 8 deletions Solidsoft.Reply.Parsers.Gs1Ai/Solidsoft.Reply.Parsers.Gs1Ai.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@
<AdditionalFiles Include="stylecop.json" />
</ItemGroup>

<ItemGroup>
<Content Include="..\DEVELOPER-NOTICE.txt" Link="LicenceAndNotices\DEVELOPER-NOTICE.txt" />
<Content Include="..\LICENSE.txt" Link="LicenceAndNotices\LICENSE.txt" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
Expand All @@ -64,14 +69,6 @@
</ItemGroup>

<ItemGroup>
<Resource Include="LICENSE.txt">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</Resource>
<Resource Include="README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</Resource>
<Resource Include="Solidsoft Reply - LOGO Square_small.jpg">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
Expand Down Expand Up @@ -339,4 +336,12 @@
</EmbeddedResource>
</ItemGroup>

<ItemGroup>
<Folder Include="LicenceAndNotices\" />
</ItemGroup>

<ItemGroup>
<None Include="..\README.md" Link="LicenceAndNotices\README.md" />
</ItemGroup>

</Project>

0 comments on commit 214994b

Please sign in to comment.