Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facetas #3

Open
ExarcaFidalgo opened this issue Feb 16, 2021 · 1 comment
Open

Facetas #3

ExarcaFidalgo opened this issue Feb 16, 2021 · 1 comment

Comments

@ExarcaFidalgo
Copy link
Collaborator

ExarcaFidalgo commented Feb 16, 2021

Otro detalle relativamente relevante (y este sí lo tiene nuestra contraparte). Así, si la Shape define:

foaf:name xsd:string MinLength 2

El correspondiente campo de tipo texto debiera incorporar tal limitación.
Si no me equivoco, en total tenemos:

	:name xsd:string /[a-z]+/;
	:age xsd:int MinInclusive/MinExclusive/MaxInclusive/MaxExclusive 18;
	:c xsd:int TotalDigits 3;
	:d xsd:int FractionDigits 4;
	:e xsd:string Length 6;
	:f xsd:string MinLength 3;
	:g xsd:string MaxLength 15;

Que serían aplicables a campos textuales y numéricos de manera no indistinta.

@ExarcaFidalgo
Copy link
Collaborator Author

Están todas salvo este par:

:c xsd:int TotalDigits 3;
:d xsd:int FractionDigits 4;

Las cuales no tienen un equivalente directo en los atributos del input. Quizá mediante expresión regular.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant