Comments (2)
@howard
Could you give your opinion on this. As its really hard to add the validation for the fields from the XSD schema to the library. I would says this could only be covered if we add the generel validation against the schema to validation of the XML output.
from libflexport.
I would says this could only be covered if we add the generel validation against the schema to validation of the XML output.
One one hand it's true. On the other hand, doing this instead of having validation in code takes away validation coverage from CSV export. Generally, I'm torn on this.
Perhaps we should decide on a case-by-case basis if having schema validation is enough, or whether we should have it in code to cover CSV as well.
In this particular case as far as I know, square brackets in the image URL doesn't cause problems with CSV export, even when using the data in search. There is only an issue with XML import failing because of schema validation issues. So here I'm definitely for adding general schema validation.
I think that was even the plan at some point, because an XSD validator was part of the dependencies back then, despite being unused.
from libflexport.
Related Issues (20)
- Special lengths for special CSV columns HOT 1
- Better information in exception messages
- Attribute values longer than 16383 characters must not be possible
- New line characters in CSV export
- Drop support for PHP 5.6, PHP 7.0 HOT 1
- Add PHP 7 type declarations HOT 1
- Add PHP 7 return types HOT 1
- Add PHP 7 group use functionallity HOT 1
- Update PHPUnit configuration HOT 1
- Add PHP 7 class constant visibility
- Adding attributes without values HOT 1
- start, count and total should not be required method arguments when using CSV HOT 4
- Use import statement for top level classes
- Collect ideas for libflexport 3.0 HOT 7
- Add support for variants
- Attribute values containing multidimensional data will cause an mb_srtlen exception
- Missing group parameter HOT 3
- Support the new visibility element.
- 'salesFrequencies': Missing child element(s). Expected is ( salesFrequency ) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libflexport.