JeremyYao commented on PR #1329:
URL: https://github.com/apache/daffodil-vscode/pull/1329#issuecomment-3097957004

   Did tests describe in https://github.com/apache/daffodil-vscode/issues/1318 
and looks good. 
   
   Ran into something odd though
   
   If you use paste the schema 
   ``` XML
   <?xml version="1.0" encoding="UTF-8"?>
   <xs:schema xmlns:xs="http://www.w3.org/2001/xmlSchema";
       xmlns:dfdl="http://www.ogf.org/dfdl/dfdl-1.0/";
       xmlns:daf="urn:ogf:dfdl:2013:imp:daffodil.apache.org:2018:ext"
       xmlns:fn="http:/www.w3.org/2005/xpath-functions"
     elementFormDefault="unqualified">
     <xs:group name = "test" >
       <xs:sequence dfdl:hiddenGroupRef="hiddenTestGrp"/>
       <xs:sequence>
         <xs:element name="foo1">
           <xs:complexType>
             <xs:sequence>
               <xs:annotation>
                 <xs:appinfo source="http://www.ogf.org/dfdl"/>
                 </xs:appinfo>
               </xs:annotation>
               <xs:element name="Keyword"
               type="xs:string" dfdl:alignment="1" dfdl:length=""
               dfdl:alignmentUnits="bits" dfdl:representation="binary"
               dfdl:lengthKind="delimited" dfdl:terminator="%NUL;"
               dfdl:outputNewLine="%CR;"></xs:element>
               <xs:element name="Compression_Method" type="xs:unsignedInt">
                 <xs:annotation>
                   <xs:appinfo source="http://www.ogf.org/dfdl/";>
                     <dfdl:assert><![CDATA[{ . eq 0 }]]></dfdl:assert>
                   </xs:appinfo>
                 </xs:annotation>
               </xs:element>
               <xs:element name="Datastream" type="xs:hexBinary" minOccurs="0" 
dfdl:representation="binary" dfdl:occursCountKind="implicit" 
dfdl:lengthKind="explicit" dfdl:lengthUnits="bytes" dfdl:length="{../../Length 
- fn:string-length(../Keyword) - 2}"/>
             </xs:sequence>      
           </xs:complexType>
         </xs:element>
       </xs:sequence>  
       <xs:sequence><xs:element name="foo2" type="xs:string" dfdl:length="10"  
dfdl:lengthKind="delimited" dfdl:lengthUnits="bytes"><xs:annotation><xs:appinfo 
source="http://www.ogf.org/dfdl/";><dfdl:discriminator test="{./length eq 
4}"/></xs:appinfo></xs:annotation></xs:element></xs:sequence>
     </xs:group>
   </xs:schema>
   ```
   and put your cursor on ln 34, col 30 (before name="foo2") then CTRL + Space. 
The suggestions seem to hang. Is anyone running into this issue? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to