Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does cns choke when an element name appears at the beginning of a line in the text?

0
Posted

Why does cns choke when an element name appears at the beginning of a line in the text?

0

This is a limitation of cns. It’s not an automatic procedure. The logic that it uses to determine what’s in the file cannot cope well with some of these situations. The reason why it does this is that it’s trying to divine the hierarchical structure in text that isn’t structured hierarchically. It has to make assumptions about where standard element names will be, so that it can recognize them properly when they are in the right places. When you’re using cns, you have to look carefully at both the input and the output. Always look at the leftovers file, because it will show where really severe problems occur. But be aware that some less obvious problems sometimes occur; sometimes an element that’s spelled wrong will be lumped into the text of the previous element.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.