Project

Profile

Help

Bug #6063

Updated by Michael Kay 12 months ago

The number of spaces output before an indented attribute is one too many. We are seeing, for example 

 ``` 
 <isee:ISEE-Event xmlns="http://www.example.com/schemas/ex/5.00" 
 __________________xmlns:isee="http://www.w3.org/2001/XMLSchema-instance/isee" 
 __________________xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
 __________________schemaVersion="5.00"> 
                                xmlns:isee="http://www.w3.org/2001/XMLSchema-instance/isee" 
                                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                                schemaVersion="5.00"> 
 ``` 
 with 18 spaces rather than 17 on lines 2, 3, and 4. 

 Problem was raised on StackOverflow, see 
 https://stackoverflow.com/questions/76405207/saxon-he-9-x-11-x-12-x-indentation-differences-depending-on-operating-system/76408103#76408103 

 and subsequent discussion.

Back