[LSC] Call for Votes: File Format Restrictions for Official Parts

Travis Cobbs tcobbs at gmail.com
Tue May 20 18:10:47 EDT 2008


OK, I'm going to cancel this particular vote, update the document, and call
a new vote. Since it will be the same document, and I didn't copy the
contents of the document to the call for votes, please don't give any
further votes on this thread.

--Travis

On Tue, May 20, 2008 at 1:50 PM, Michael Heidemann <mikeheide at web.de> wrote:


> There were several discussion last year about this issue:

> http://news.lugnet.com/cad/dev/org/ldraw/?n=4005

> http://news.lugnet.com/cad/?n=14510

> http://news.lugnet.com/cad/dev/?n=10694

>

> I hope I have also read all carefully. I also wasn't aware that all files

> in the library are already uses DOS line termination.

> So it is a good idea to bring this into a specification.

>

> Two questions remains to me.

> If I have a file with only <LR> or <CR> as line termination that I upload

> to the PT, is the file that can be downloaded from the PT already changed to

> <CR><LF> or not. If not, I think this should be changed.

> Does all files in the official library has already : The last two bytes of

> the file must be <CR><LF>?

>

> So if the official library already is according the the specification then

> I agree.

>

> term "last line"

> As you know the <CR><LF> is often called 'newline', so if I put CRLF into

> the file I HAVE A NEW LINE.

> Only lines with content need to have a CRLF.

> That were my thought. So the new sentence is much more clear.

>

>

> cu

> mikeheide

>

> Travis Cobbs schrieb:

>

> Files in the official library do use Windows line termination. I see that

> this isn't covered anywhere in the document, and isn't in the LDraw 1.0 spec

> either. I'd be happy to add it and re-submit for votes. It doesn't matter

> that not everyone using the library uses Windows, the files themselves use

> <CR><LF>. Renderers in other operating systems need to deal with this (and

> all the current ones do, to the best of my knowledge).

>

> I'm not exactly sure what isn't clear about the term "last line". All

> lines in the file must be valid lines, so I don't see how your suggested

> change improves things. However, how about this (as a replacement for the

> Last Line section):

>

> Line Termination

> All lines in the file must be use the standard DOS/Windows line termination

> of <CR><LF> (carriage return/line feed). The last two bytes of the file

> must be <CR><LF>. (In other words, there must be a <CR><LF> line terminator

> at the end of the last line in the file.)

>

> --Travis

>

> On Tue, May 20, 2008 at 10:55 AM, Michael Heidemann <mikeheide at web.de>

> wrote:

>

>> I am sorry, but I do not agree to the last section.

>>

>> *Last Line*

>>

>> The last line in the file must include the terminating <CR><LF>

>> (carriage return/line feed).

>>

>>

>> It is not clear what what is the last line. And could the other line ends

>> with a CR or LF alone? Not everybody is using Windows systems.

>>

>> Better would be:

>> A valid line (linetype 0 - 5) has to be terminated by <CR> or <LF> or

>> <CR>< LF>.

>>

>> cu

>> mikeheide

>>

>>

>> Travis Cobbs schrieb:

>>

>> This is a call for votes to ratify the following document:

>>

>> http://www.ldraw.org/Article408.html

>>

>> Please note: it is known that this document is incomplete. I feel that it

>> would be better to have the incomplete document ratified now, and then add

>> things to it in the future, than to continue indefinitely with no official

>> document. All future changes will have to be ratified, but that doesn't

>> prevent us from leaving the ratified version of the document in the scratch

>> pad for future edits, so that multiple changes can be ratified at once.

>>

>> It is important to note that the items that are missing should all be more

>> restrictions, not exceptions to the given rules. If anyone knows of any

>> exceptions to the rules in the document, please speak up.

>>

>> --Travis

>>

>> ------------------------------

>>

>> _______________________________________________

>> LSC mailing listLSC at ldraw.orghttp://five.pairlist.net/mailman/listinfo/lsc

>>

>>

>> _______________________________________________

>> LSC mailing list

>> LSC at ldraw.org

>> http://five.pairlist.net/mailman/listinfo/lsc

>>

>>

> ------------------------------

>

> _______________________________________________

> LSC mailing listLSC at ldraw.orghttp://five.pairlist.net/mailman/listinfo/lsc

>

>

> _______________________________________________

> LSC mailing list

> LSC at ldraw.org

> http://five.pairlist.net/mailman/listinfo/lsc

>

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://five.pairlist.net/pipermail/lsc/attachments/20080520/7da2a934/attachment.htm>


More information about the LSC mailing list