Comments (10)
I agree. If someone needs this relation, it is still implicitly available, since comments are linked to viewpoints.
from bcf-xml.
Now when looking at this again, it seems that the reference from comment to viewpoint can be removed. Viewpoint can have several comments, so there we need the relation.
from bcf-xml.
I raised this issue to make sure we do not create n:n relations between comments and viewpoints. Your solutions still allows that. When you keep only relation from comment to viewpoint and maxoccurs = 1 then this is taken care of.
from bcf-xml.
Currently there's maxoccurs = 1 in the markup schema. See line 119 in https://github.com/BuildingSMART/BCF/blob/master/Schemas/markup.xsd. My question is that did you mean that lines 119 to 123 should be removed? This is the information that I find redundant.
from bcf-xml.
I mean line 38 to 42 need to be removed to solve this,
from bcf-xml.
But that is the one to many relation between viewpoints and comments.
from bcf-xml.
Theoretically you could remove either 38-21 (relation from comment to viewpoint, single) or 119-123 (relation from viewpoint to comment, multiple).
If you would remove 119-123 we can still create n:n relations in the file (image the same comment is referred to from two different viewpoints)
If you remove 38-42 we can still create n:1 relation (imagine the same viewpoint is referred to in different comments) but we can never create n:n relations anymore. So that's why I consider this one the best solution.
from bcf-xml.
Got you!
Should the minoccurs then be 1 on line 119? Otherwise there can be comments that are not related to any viewpoint.
from bcf-xml.
minoccurs should remain '0' since a comment can be added without adding a new viewpoint or referring to a viewpoint. In theory we can have orphan viewpoints: viewpoint exist in the issue but has no comment pointing to it. This should be avoided by the software creating and managing issues.
from bcf-xml.
This is fixed in c3a8930
from bcf-xml.
Related Issues (20)
- Remove VisibleComponentsUseCases.md HOT 2
- ReferenceSchema is mentioned as "optional" in documentation, but is mandatory in XSD HOT 1
- BCF v3 Project optionality is different between docs and schema
- File attribute optionality HOT 1
- Deleted
- Field of view documentation HOT 1
- BCF-XML validator HOT 4
- DueTime interpretation ill defined HOT 5
- Remove outdated section about one-to-many relations between viewpoints and comments HOT 1
- Missing Topic Label HOT 3
- Update README to include contact details for the cde group HOT 1
- Tools that support bcf 3.0 HOT 1
- CameraViewPoint units HOT 2
- What is the "ExtensionSchema" in BCF 2.0/2.1? HOT 2
- Topic GUID mismatch HOT 4
- Is multiple topics in BCF markup supported? HOT 2
- proposal: adding "GeoPoint" HOT 2
- (Question) - Why are viewpoints stored in the topic folders? HOT 2
- How to save the GUID of an IfcElementType in a bcf file HOT 1
- Add `minOccurs="1"` to all lists that should not be empty if present HOT 1
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 bcf-xml.