Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Symbols only returns the 1st ATTLIST value #265

Closed
fbricon opened this issue Dec 17, 2018 · 0 comments · Fixed by #388
Closed

Document Symbols only returns the 1st ATTLIST value #265

fbricon opened this issue Dec 17, 2018 · 0 comments · Fixed by #388
Assignees
Labels
bug Something isn't working DTD symbols
Milestone

Comments

@fbricon
Copy link
Contributor

fbricon commented Dec 17, 2018

I found that multiple attlists in one declaration are not supported, so only the 1st attribute shows in the outline eg. ant1.6.2.dtd (look at project, target):

screen shot 2018-12-16 at 11 05 40 pm

<?xml version="1.0" encoding="UTF-8" ?>
<!ENTITY % boolean "(true|false|on|off|yes|no)">
<!ENTITY % tasks "propertyfile | ccmkdir | importtypelib | vsscheckin | sql | cvspass | p4reopen | csc | dirname | wlrun | p4label | p4revert | replaceregexp | get | jjtree | sleep | jarlib-display | dependset | zip | patch | jspc | style | test | tstamp | unwar | vsshistory | icontract | cvschangelog | p4submit | ccmcheckin | p4change | bzip2 | sync | p4delete | vssadd | javadoc | p4integrate | translate | signjar | cclock | chown | vajload | jarlib-available | rexec | WsdlToDotnet | buildnumber | jpcovmerge | ejbjar | war | stlist | rename | sequential | serverdeploy | property | subant | move | ildasm | copydir | cccheckin | ccunlock | wljspc | fixcrlf | telnet | sosget | pathconvert | record | p4sync | exec | ccmklabel | p4edit | manifest | maudit | antlr | netrexxc | ftp | jpcovreport | execon | ccmcheckout | ant | xmlvalidate | xslt | p4resolve | iplanet-ejbc | ccmcheckintask | gzip | native2ascii | ccrmtype | starteam | ear | input | presetdef | rmic | checksum | mail | loadfile | vsscheckout | stylebook | soscheckin | mimemail | stlabel | gunzip | concat | cab | touch | parallel | splash | antcall | ccmkbl | cccheckout | typedef | p4have | filter | xmlproperty | import | copy | jsharpc | symlink | antstructure | script | ccmcreatetask | rpm | delete | replace | mmetrics | attrib | waitfor | untar | loadproperties | available | echoproperties | stcheckin | chgrp | vajexport | stcheckout | bunzip2 | whichresource | copyfile | p4labelsync | vsscreate | macrodef | ejbc | unjar | vbc | wsdltodotnet | mkdir | cvs | condition | tempfile | junitreport | ccmkattr | taskdef | echo | ccupdate | java | vsslabel | renameext | basename | javadoc2 | tar | vsscp | vajimport | p4fstat | setproxy | p4counter | wlstop | ilasm | soscheckout | apply | ccuncheckout | jarlib-resolve | jlink | cvstagdiff | javacc | chmod | pvcs | jarlib-manifest | jar | ccmklbtype | sound | scriptdef | defaultexcludes | mparse | blgenclient | uptodate | jjdoc | genkey | javah | ccmkelem | ccmreconfigure | fail | unzip | javac | p4add | jpcoverage | soslabel | depend | vssget | deltree | ddcreator | junit | sshexec | scp">
<!ENTITY % types "patternset | assertions | propertyset | filterset | libfileset | mergemapper | identitymapper | filterreader | unpackagemapper | scriptfilter | concatfilter | extension | fileset | dirset | globmapper | filelist | filterchain | path | compositemapper | classfileset | regexpmapper | selector | xmlcatalog | flattenmapper | description | chainedmapper | packagemapper | mapper | zipfileset | substitution | extensionSet | redirector | regexp">

<!ELEMENT project (target | extension-point | %tasks; | %types;)*>
<!ATTLIST project
          name    CDATA #IMPLIED
          default CDATA #IMPLIED
          basedir CDATA #IMPLIED>

<!ELEMENT target (%tasks; | %types;)*>

<!ATTLIST target
          id          ID    #IMPLIED
          name        CDATA #REQUIRED
          if          CDATA #IMPLIED
          unless      CDATA #IMPLIED
          depends     CDATA #IMPLIED
          extensionOf CDATA #IMPLIED
          description CDATA #IMPLIED>
    ...
@fbricon fbricon added bug Something isn't working symbols DTD labels Dec 17, 2018
@fbricon fbricon added this to the v0.0.4 milestone Jan 7, 2019
@NikolasKomonen NikolasKomonen removed this from the v0.4.0 milestone Jan 29, 2019
@NikolasKomonen NikolasKomonen self-assigned this May 2, 2019
@NikolasKomonen NikolasKomonen added this to the v0.6.0 milestone May 2, 2019
@NikolasKomonen NikolasKomonen modified the milestones: v0.6.0, v0.7.0 May 21, 2019
NikolasKomonen referenced this issue in NikolasKomonen/lsp4xml May 23, 2019
Fixes#265

Signed-off-by: Nikolas Komonen <nikolaskomonen@gmail.com>
NikolasKomonen referenced this issue in NikolasKomonen/lsp4xml May 23, 2019
Fixes#265

Signed-off-by: Nikolas Komonen <nikolaskomonen@gmail.com>
NikolasKomonen referenced this issue in NikolasKomonen/lsp4xml May 27, 2019
Fixes#265

Signed-off-by: Nikolas Komonen <nikolaskomonen@gmail.com>
fbricon referenced this issue May 27, 2019
Fixes#265

Signed-off-by: Nikolas Komonen <nikolaskomonen@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working DTD symbols
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants