[great-users] reference to DTD in the code generator

Feng Shi fengshi at isis.vanderbilt.edu
Wed Jan 7 15:10:30 CST 2004


I like the idea that we should keep consistence with the UDM. So XSD should be used in stead of DTD. For the command line, personally I don't like to use special character to signal DTD/XSD file from others, no matter what the order, it can be easily told from the extension name.

Feng

-----Original Message-----
From: Aditya Agrawal 
Sent: Wednesday, January 07, 2004 2:59 PM
To: A list for GReAT users to share bugs, fixes and ideas
Subject: RE: [great-users] reference to DTD in the code generator

Its good that the dtd file name is at the user end and we can change It in the examples. As for the specification of DTD's in the command line I will be happier to have different delimiters, e.g. ; is for copy file name and ! is for dtd file name.


Then the examples will be ABC="namehere"[;"copyname][!"dtdname"]

This we don't have to specify either the order or the requirement to have an empty string.

Still open for other ideas.

Adi

------------------------------------------
Aditya Agrawal 
mailto:aditya.agrawal at vanderbilt.edu
http://aditya.isis.vanderbilt.edu/
Institute For Software Integrated Systems (ISIS) www.isis.vanderbilt.edu 
Vanderbilt University 
2015 Terrace Place 
Nashville, TN 37203
615 322 3164

-----Original Message-----
From: Attila Vizhanyo 
Sent: Wednesday, January 07, 2004 1:45 PM
To: A list for GReAT users to share bugs, fixes and ideas
Subject: RE: [great-users] reference to DTD in the code generator

Adi,

Small problems, big discussions... S

1,
The .dtd extensions are specified in the configuration file, and not generated by CG.
Since we want to support both DTDs and XSDs in the near future, CG should not change the extension,
but the user should specify the correct extension in the first place.

2,
Regarding the DTD/XSD command line specification, if we use the format:

        FILE_ID="FILE_NAME"[[;"COPY_NAME"];"DTD/XSD_NAME"]
        
then users must specify the empty string for read-only files, e.g.:
	
	OPEN_FILE="open.xml";"";"XsdPath/XsdFile"

I am thinking of better solution...

-Attila



-----Original Message-----
From: Aditya Agrawal 
Sent: Tuesday, January 06, 2004 14:19
To: great-users at list.isis.vanderbilt.edu
Subject: [great-users] reference to DTD in the code generator

Dear Attila,
 
I noticed that the generated code still refers to the dtd in the CreateNew and OpenExisting functions. Could you please change this to make it xsd. 
 
Thanks,
Adi
 
------------------------------------------
Aditya Agrawal 
mailto:aditya.agrawal at vanderbilt.edu
http://aditya.isis.vanderbilt.edu/
Institute For Software Integrated Systems (ISIS) www.isis.vanderbilt.edu 
Vanderbilt University 
2015 Terrace Place 
Nashville, TN 37203
615 322 3164
 
_______________________________________________
great-users mailing list
great-users at list.isis.vanderbilt.edu
http://list.isis.vanderbilt.edu/mailman/listinfo/great-users


More information about the great-users mailing list