* Sarah Jelinek <Sarah.Jelinek at Sun.COM> [2010-02-02 18:23]:
> I think that changing the parser every time we add an attr for a
> node isn't a great answer either.

  New attribute types always require something to change--presumably to
  introduce them, if nothing else.  Placing type handling in your
  parser/semantic handler allows you to choose whether or not you want
  unknown attribute types to result in an error or a warning.  Encoding
  the types in the schema removes that choice.

  - Stephen

-- 
sch at sun.com  http://blogs.sun.com/sch/

Reply via email to