Hi Tonny.

Tonny Kohar:
> I have a questions regarding the return value from
> org.apache.batik.dom.util.XMLSupport.defaultXMLSpace(String). 
> Does the return value should be without trim ?

My reading would be that due to the Enumeration validity constraint[1],
the attribute value has to match the NMTOKEN production[2], which doesn't
allow spaces.  This of course is assuming you are working with a
validated document, and Batik doesn't do any DTD validation.

Cameron

[1] http://www.w3.org/TR/REC-xml/#enum
[2] http://www.w3.org/TR/REC-xml/#nmtok

-- 
  e-mail : cam (at) mcc.id.au           icq : 26955922
     web : http://mcc.id.au/            msn : cam-msn (at) aka.mcc.id.au
  office : +61399055779              jabber : heycam (at) jabber.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to