Re: [Linkbat-devel] Re: question on moreinfo.data (Everyone please read)
Brought to you by:
jimmo
From: James M. <lin...@ji...> - 2002-11-21 09:44:14
|
On Wednesday 20 November 2002 21:05, Luan Luu wrote: > Hi All, > > The seperator ":" is good for now in my opinion, since the other > characters, we will also have in some of the other data files. True. > The reason tag should be there and stay empty, not removed, because when > you extract XML to DB, i guess we expect a REASON tag to be there. OK. Fine with me. However, I just want to make sure that we have consistant rules. That is, we say that even if the tag is empty it **must** be present in all cases. If it's okay to leave it out sometimes and not others, people will forget and it gets confusing as to when and where it is allowed. > Is it possible the tyk.data file be modified a little bit? Like you > mentioned, there are a couple of character in there which can not be > convert into valid XML format, such as the alone '&' need to change to > '&', in the line number 45. The othere '&' in the data file was > already in converted format, so it is alright. only the previous one > mentioned causes problem. Also, I tried to convert all the < and > into the > '<' and '>' respectively. Is that ok? I don't think that will be a problem (I hope). The fact that we need to use special characters like this in the text is unavoidable as it's simply part of Linux. > You mentioned the Topics and TopicRef tag should be insert into all the > data file? Where do you think it should be? > > For the new dyk.data.NEW you sent me, it would produce this. > > <KnowledgeUnit> > <Attributes> > <Type>Concept</Type> > <Text>Linux can be started from any partition.</Text> > </Attributes> > <Pages> > <PageRef primary="true">106</PageRef> > </Pages> > <Questions> > > </Questions> > </KnowledgeUnit> > > Where should the topics and topicref goes? Good question. My feeling is that the Questions should come last. However, the order of the KU references is unimportant, right? That is, the pages could come first and then the Topics or the Topics first and then the pages. However, (again my feeling) the topics are important enough and will "always" be there, so they should come after the attributes. You then end up with this: <KnowledgeUnit> <Attributes> <Type>Concept</Type> <Text>Linux can be started from any partition.</Text> </Attributes> <Topics> <TopicRef> topic1</TopicRef> <TopicRef> topic2</TopicRef> </Topics> <Pages> <PageRef primary="true">106</PageRef> </Pages> <Questions> </Questions> </KnowledgeUnit> regards, jimmo -- --------------------------------------- "Be more concerned with your character than with your reputation. Your character is what you really are while your reputation is merely what others think you are." -- John Wooden --------------------------------------- Be sure to visit the Linux Tutorial: http://www.linux-tutorial.info |