I have the following in a CSS that I'm trying to use with XXE:

misc_eval {
     background-color: white;
}

However, whenever I try to use it I get the following error (also with csscheck 
script):

file:/n/winwood/u/winwood/dupuy/cvs/awb-test/dtd/featureset.css:W:337:6: syntax 
error: expected ',' or '{', found '_'

The underscore character wasn't originally legal for CSS identifiers, but it 
has since been retroactively added to CSS by the errata:

http://www.w3.org/Style/css2-updates/REC-CSS2-19980512-errata.html

I can try to change the misc_eval element name to misc-eval to work around this 
problem, but since both are legal per the XML DTD (and CSS) spec, it's hard to 
argue with those who prefer underscore to hyphen in their DTDs.

On another subject, I notice that the xsdvalid/dtdvalid/dtdtoxsd shell scripts 
set the Java property xml.catalog.files, while the xxe shell script has been 
changed to set XXE_CATALOG.  Since these are both using some of the same jar 
files, I wonder if this is a missed update?

dtdtoxsd:java -Dxml.catalog.files="$XXE_CATALOG" -Xss1m -Xmx128m -classpath $cp 
\
dtdtoxsd.bat:java -Dxml.catalog.files="%XXE_CATALOG%" -Xss1m -Xmx128m 
-classpath "%cp%" com.xmlmind.xmledit.dtd.DTDToXSD %*
dtdvalid:java -Dxml.catalog.files="$XXE_CATALOG" -Xss1m -Xmx128m -classpath $cp 
\
dtdvalid.bat:java -Dxml.catalog.files="%XXE_CATALOG%" -Xss1m -Xmx128m 
-classpath "%cp%" com.xmlmind.xmledit.dtd.Validate %*
xsdvalid:java -Dxml.catalog.files="$XXE_CATALOG" -Xss1m -Xmx128m -classpath $cp 
com.xmlmind.xmledit.xsd.Validate "$@"
xsdvalid.bat:java -Dxml.catalog.files="%XXE_CATALOG%" -Xss1m -Xmx128m 
-classpath "%cp%" com.xmlmind.xmledit.xsd.Validate %*
xxe:    -DXXE_CATALOG="$XXE_CATALOG" \
xxe.bat:start javaw -Dsun.java2d.noddraw=true -Xss1m -Xmx128m 
-DXXE_PLUGIN="%XXE_PLUGIN%" -DXXE_CONFIG="%XXE_CONFIG%" 
-DXXE_CATALOG="%XXE_CATALOG%" -classpath "%cp%" 
com.xmlmind.xmleditapp.app.Start %*

@alex




Reply via email to