Open vladak opened 11 years ago
1) I have to say thanks. opengrok is a really great idea. I tried opengrok to index xml and xml schemas (xsd) files. xsd files are valid xml. If you look at an OASIS offering, you see really extensive xsd file with lots of namespaces. trying to navigate the inter relationships is time consuming and tedious. I am exploring ways to index the xsd files relationships, inheritance and substitution groups are accounted for. Another ways to think of it is how does an indexer handle another level of indirection.
I am not a java programmer. I have been looking for who to use -A to add an extension I see this
# OPTIONAL: Allow Leading Wildcard Searches
# (default: on)
LEADING_WILDCARD="-a on"
if [ -n "${OPENGROK_WPREFIX}" ]
then
LEADING_WILDCARD=""
fi
But I am afraid I do not know where or how to use it On windows, I build the index with this "C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar opengrok.jar -W C:\opengrok\configuration.xml -c C:\ctags58\ctags.exe -P -S -v -s C:\ma\Personal -d C:\opengrok\grokdata
What do I need to do to tell the indexer that xsd are of file type xml?
I added an example in above push, @gmgj can you please test it if it will work for you?
1) thanks
2) I can build systems in a lot of languages; unfortunately, java is not one of them.
I might be able to try this weekend, however, I build nothing in java, I have written hello world and hello a little bit more, but basically I know nothing about java
3) I was going to see if you supported using the ctags.conf (.ctags nix ctags.conf windows)
--langdef=xml --langmap=xml:.xml.html.xhtml.xsd
4) I would take a jar file from you. however, the target is Windows 7
5) add support for xsd schema files (valid xml) What I am hoping for is to find a way to extend the xml parser to
add support for namespaces
xmlns:j="http://niem.gov/niem/domains/jxdm/4.0"
<j:CaseAugmentation>
<j:CaseCourt>
<nc:OrganizationIdentification>
<nc:IdentificationID>MASJC</nc:IdentificationID>
</nc:OrganizationIdentification>
<j:CourtName>Supreme Judicial Court for the Commonwealth of Massachusetts</j:CourtName>
</j:CaseCourt>
add support for inheritance and substitution groups example
status NEW severity enhancement in component analyzer for --- Reported in version unspecified on platform Other Assigned to: Trond Norbye
On 2009-01-20 06:29:23 +0000, Vladimir Kotal wrote: