rthomas320 commented on PR #1329: URL: https://github.com/apache/daffodil-vscode/pull/1329#issuecomment-3102028908
Jeremy, I am not seeing the issue you are seeing. What OS are you using? ***@***.*** From: Jeremy Yao ***@***.***> Sent: Monday, July 21, 2025 2:37 PM To: apache/daffodil-vscode ***@***.***> Cc: Regis Thomas ***@***.***>; Author ***@***.***> Subject: Re: [apache/daffodil-vscode] handle name and ref attributes consistently (PR #1329) [https://avatars.githubusercontent.com/u/14862697?s=20&v=4]JeremyYao left a comment (apache/daffodil-vscode#1329)<https://github.com/apache/daffodil-vscode/pull/1329#issuecomment-3097957004> Did tests describe in #1318<https://github.com/apache/daffodil-vscode/issues/1318> and looks good. Ran into something odd though If you use paste the schema <?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? - Reply to this email directly, view it on GitHub<https://github.com/apache/daffodil-vscode/pull/1329#issuecomment-3097957004>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ARLRHI6S434NJUFCQHIJ5YD3JUXM5AVCNFSM6AAAAACBSJ2FECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTAOJXHE2TOMBQGQ>. You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>> -- 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]
