[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Whitespace rules (v2)
I'm troubled by one aspect of that suggestion: > RULE 4. A remaining line-end code is converted into a space, except > when it is preceded by a normal (hard) hyphen, or by a soft hyphen > ('°'), in which case it is removed (a soft hyphen is also then > removed). ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ That could alter the semantics of the data stream. The incoming data stream may have been broken at that point, but we don't want to lose the fact that such a break is legal -- it may be required again down- stream. So, using your example, I think that > A[CR] > line-[CR] > end code sep°[CR] > arates lines. should become A line-end code sep°arates lines. and not, as you suggest, > A line-end code seperates lines. An individual application may choose to ignore soft hyphens when it displays (or otherwise handles) the data. Does that make sense? - Andrew Greene xml-dev: A list for W3C XML Developers Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To unsubscribe, send to majordomo@i... the following message; unsubscribe xml-dev List coordinator, Henry Rzepa (rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|